http-component-loader
v1.0.0
Published
load html/js/css lazy for component on browser.
Downloads
1
Maintainers
Readme
Http Component Loader
load html/js/css lazy for component on browser (eg. Vue.js)
Usage
new HttpComponentLoader({css, js, html}).loadComponent();
// static methods:
HttpComponentLoader.loadCss(cssUrl);
HttpComponentLoader.loadJs(jsUrl);
HttpComponentLoader.loadText(textUrl);