main.js 698 B

123456789101112131415161718192021222324252627
  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: "mini", zIndex: 1000 })
  11. import './framework/style/layout.scss'
  12. import componentsPlugin from '@/plugins/components'
  13. Vue.use(componentsPlugin)
  14. Vue.config.productionTip = false
  15. /* eslint-disable no-new */
  16. new Vue({
  17. el: '#app',
  18. router,
  19. store,
  20. components: { App },
  21. template: '<App/>'
  22. })