index.js 464 B

1234567891011121314
  1. // import './prototypes'
  2. import directive from './directive'
  3. import Vue from 'vue'
  4. // import filters from '@/global/filters';
  5. debugger
  6. Object.values(directive).forEach(value => Vue.use(value))
  7. // const install = () => {
  8. // Object.keys(directive).forEach((key) => Vue.use(directive[key]));
  9. // // 装载 vue prototype
  10. // Object.keys(prototypes).forEach((key) => Vue.use(prototypes[key]));
  11. // // 装载 vue 全局 filters
  12. // // Object.keys(filters);
  13. // };