main.js 552 B

1234567891011121314151617181920
  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 'bootstrap3/dist/css/bootstrap.min.css'
  9. import 'font-awesome/css/font-awesome.css'
  10. Vue.config.productionTip = false;
  11. Vue.use(ElementUI);
  12. /* eslint-disable no-new */
  13. new Vue({
  14. el: '#app',
  15. router,
  16. components: { App },
  17. template: '<App/>'
  18. })