Continuing the discussion from What is import of html file?:
There are a few things I had to do when I was migrating to the modules system for 1.3
- I noticed that all the templates (partials) are loaded up as part of the initial data load (based on view source)
- The templates have to be kept on “client” but my JavaScript code is in “imports” I am not sure if this is right.
So my question is, should I move the HTML to imports as well, but use the import
html to load it? I was thinking that would make sense but I don’t know how to refer to the template at that point.