Closed larsvanbraam closed 5 years ago
In the documentation it states that you can use functions for JavaScript data. This works for components but not on pages.
Works on components but not on pages
module.exports = () => ({ e1: true, e2: 'js function', f: 'import!./f.json', });
Even though you will most likely never use this it is still good for consistency to support objects and functions for both.
This was fixed in this pull request https://github.com/mediamonks/muban/pull/85!
In the documentation it states that you can use functions for JavaScript data. This works for components but not on pages.
Works on components but not on pages
Even though you will most likely never use this it is still good for consistency to support objects and functions for both.