main.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // The Vue build version to load with the `import` command
  2. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  3. import Vue from 'vue'
  4. import App from './App'
  5. import router from './router'
  6. import store from './store'
  7. import 'element-ui/lib/theme-chalk/base.css';
  8. import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
  9. import ElementUI from 'element-ui'
  10. import uploader from 'vue-simple-uploader'
  11. import 'element-ui/lib/theme-chalk/index.css'
  12. import './framework/style/awesome.less'
  13. Vue.use(uploader)
  14. Vue.use(ElementUI, { size: "small", zIndex: 1000 })
  15. Vue.component(CollapseTransition.name, CollapseTransition)
  16. import './framework/style/layout.scss'
  17. import '@/assets/style/style.scss'
  18. import '@/assets/style/iconfont/iconfont.css'
  19. import './utils/scan/directive' //自定义指令
  20. import componentsPlugin from '@/framework/plugins/components'
  21. Vue.use(componentsPlugin)
  22. import elCascaderMulti from "el-cascader-multi";
  23. Vue.use(elCascaderMulti); //级联多选
  24. Vue.config.productionTip = false
  25. Vue.config.devtools = true;
  26. /* eslint-disable no-new */
  27. new Vue({
  28. el: '#app',
  29. router,
  30. store,
  31. components: { App },
  32. template: '<App/>'
  33. })