main.js 841 B

12345678910111213141516171819202122232425262728293031
  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 ElementUI from 'element-ui'
  8. import 'element-ui/lib/theme-chalk/index.css'
  9. import './framework/style/awesome.less'
  10. Vue.use(ElementUI, { size: "small", zIndex: 1000 })
  11. import './framework/style/layout.scss'
  12. import '@/assets/style/style.scss'
  13. import '@/assets/style/iconfont/iconfont.css'
  14. import './utils/scan/directive' //自定义指令
  15. import componentsPlugin from '@/framework/plugins/components'
  16. Vue.use(componentsPlugin)
  17. Vue.config.productionTip = false
  18. /* eslint-disable no-new */
  19. new Vue({
  20. el: '#app',
  21. router,
  22. store,
  23. components: { App },
  24. template: '<App/>'
  25. })