@vue-async/module-loader
Version:
Module Loader Core.
14 lines • 480 B
JavaScript
import ModuleLoader from './framework';
import hook from './ability/hooks';
var install = ModuleLoader.install;
ModuleLoader.install = function (Vue) {
install.call(ModuleLoader, Vue);
};
export { hook };
export default ModuleLoader;
// Auto install if it is not done yet and `window` has `Vue`.
// To allow users to avoid auto-installation in some cases,
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(ModuleLoader);
}
//# sourceMappingURL=index.js.map