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
I need to create different widgets for our dashboard which are all components. Some of this widgets need to load external javascript files, how can I load this files from component dynamically. I don't want to load them all from index.html, I would load them only on using the component so is there a possibility to load it from component on require?
Should I try to do that with systemjs?
Activity
ysqi commentedon Mar 3, 2016
+1
PatrickJS commentedon Mar 12, 2016
load the component with es6-promise-loader and make sure the imports to the js files are only in the entry file of the component
ebeal commentedon May 20, 2016
please open again if this is still an issue
anuteja commentedon Jul 11, 2016
any working example ?
ENeoW commentedon Feb 2, 2017
one example, please