main.js 745 B

1234567891011121314151617181920212223242526272829
  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 componentsPlugin from '@/framework/plugins/components'
  14. Vue.use(componentsPlugin)
  15. Vue.config.productionTip = false
  16. /* eslint-disable no-new */
  17. new Vue({
  18. el: '#app',
  19. router,
  20. store,
  21. components: { App },
  22. template: '<App/>'
  23. })