You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using oclayload for load module lazily, and make split chunks using web pack. Some directive depends on lazily load the module when any state invoke, In directive have templatedUrl these are not registered lazily and showing 404 not found file.html.
The text was updated successfully, but these errors were encountered:
If you want to load modules lazily, you can do it by removing ngtemplate-loader, and using html-loader directly for processing your html templates. Your templates should then be passed to your directives/states using the template property after a standard import.
Thanks, @jfmoy ,
In that case, HTML files will be rendered from a server, I want to avoid this situation. https://www.npmjs.com/package/gulp-angular-templatecache, This Gulp plugin is working fine with the Lazy load. But I am not able to use both (Webpack and Gulp template cache plugin). I want a solution like this.
Hi,
I am using oclayload for load module lazily, and make split chunks using web pack. Some directive depends on lazily load the module when any state invoke, In directive have templatedUrl these are not registered lazily and showing 404 not found file.html.
The text was updated successfully, but these errors were encountered: