This commit is contained in:
“zhuoda
2019-11-16 18:17:31 +08:00
parent c24e89a503
commit 3d34508478
604 changed files with 51535 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import store from '@/store';
export default {
install(Vue, options) {}
};

View File

@@ -0,0 +1,12 @@
import config from '@/config';
const { plugin } = config;
export default Vue => {
for (let name in plugin) {
const value = plugin[name];
Vue.use(
require(`./${name}`).default,
typeof value === 'object' ? value : undefined
);
}
};