main.js 507 B

123456789101112131415161718192021
  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 ElementUI from 'element-ui'
  7. import 'element-ui/lib/theme-chalk/index.css'
  8. import store from './store/store.js'
  9. Vue.config.productionTip = false
  10. /* eslint-disable no-new */
  11. Vue.use(ElementUI)
  12. new Vue({
  13. el: '#app',
  14. router,
  15. store,
  16. components: { App },
  17. template: '<App/>'
  18. })