London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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?