main.js 933 B

123456789101112131415161718192021222324252627282930
  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 'element-ui/lib/theme-chalk/index.css'
  11. import './framework/style/awesome.less'
  12. Vue.use(uploader)
  13. Vue.use(ElementUI, { size: "small", zIndex: 1000 })
  14. Vue.component(CollapseTransition.name, CollapseTransition)
  15. import './framework/style/layout.scss'
  16. import '@/assets/style/style.scss'
  17. import '@/assets/style/iconfont/iconfont.css'
  18. Vue.config.productionTip = false
  19. Vue.config.devtools = true;
  20. /* eslint-disable no-new */
  21. new Vue({
  22. el: '#app',
  23. router,
  24. store,
  25. components: { App },
  26. template: '<App/>'
  27. })