HTML Snippet not rendering custom html elements

0
  I followed below steps to use HTML Snippet Copy all the custom .js files to theme/js folder Copy all .html files to theme/html folder Copy all .css files to theme folder.     I am using the widget as below   Now when I run the app using Run Locally I don't see the element on my page. Below error is shown in console Failed to fetch Error: Failed to fetch     at new t (http://localhost:8080/mxclientsystem/mxui/mxui.js?636620625782634065:46:135711)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636620625782634065:46:49120     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636620625782634065:20:1623     at Object.throw (http://localhost:8080/mxclientsystem/mxui/mxui.js?636620625782634065:20:1728)     at s (http://localhost:8080/mxclientsystem/mxui/mxui.js?636620625782634065:20:581)
asked
2 answers
0

Sometimes I also use the HTML snippet, but i never did these steps for it to work:

I followed below steps to use HTML Snippet

Copy all the custom .js files to theme/js folder
Copy all .html files to theme/html folder
Copy all .css files to theme folder.  

answered
0

Its probably not this but its good to know anyway, html and javascript snippets are also "translated" by the modeler. Which means that if you change your code in one langauge you have to do the same in the other language otherwise it wont work in that other language. I know its super weird but I've had that problem a few times.

I also never had to do the steps you mentioned, the snipper works out of the box.

answered