Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Just a wild guess (I'm still reading the documentation), but in the Alloy template site's module.config file looks like this:
<dojoModules> <!-- Add a mapping from alloy to ~/ClientResources/Scripts to the dojo loader configuration -->
<add name="alloy" path="Scripts" /> </dojoModules>
Their "path" points to "Scripts" and that gives you a link to "~/ClientResources/Scripts". While you add "Scripts" as well but you want to point to "~/ClientResources/js". By the same logic shouldn't you write it like this(?):
<dojoModules> <add name="MobileWeb" path="js" /> </dojoModules>
I have some trouble adding my dojo module to the user interface.
It tries to access in the episerver/shell.
I have added a module.conifg;
Added my dojo module at ~/ClientResources/js/KeyValueEditor.js, named the module
declare('MobileWeb.js.KeyValueEditor', [widget, templatedMixin]
and in my block type:
It works sometimes, but when I changed the dojoModules -> add name attribute to MobileWeb, it wont work anymore.
Anyone knows what this can be?