main.js 889 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 '../node_modules/normalize.css/normalize.css' // 重置样式表
  8. import ElementUI from 'element-ui'
  9. import './styles/index.scss'
  10. import './styles/theme/index.css'
  11. import './assets/font_icon/iconfont.css'
  12. // require styles 引入样式
  13. import 'quill/dist/quill.core.css'
  14. import 'quill/dist/quill.snow.css'
  15. import 'quill/dist/quill.bubble.css'
  16. // import 'element-ui/lib/theme-chalk/index.css'
  17. Vue.use(ElementUI)
  18. Vue.prototype.$message = ElementUI.Message
  19. // 阻止启动生产消息
  20. Vue.config.productionTip = false
  21. /* eslint-disable no-new */
  22. new Vue({
  23. el: '#canvas',
  24. router,
  25. store,
  26. components: { App },
  27. template: '<App/>'
  28. })