- // import './prototypes'
- import directive from './directive'
- import Vue from 'vue'
- // import filters from '@/global/filters';
- debugger
- Object.values(directive).forEach(value => Vue.use(value))
- // const install = () => {
- // Object.keys(directive).forEach((key) => Vue.use(directive[key]));
- // // 装载 vue prototype
- // Object.keys(prototypes).forEach((key) => Vue.use(prototypes[key]));
- // // 装载 vue 全局 filters
- // // Object.keys(filters);
- // };
|