app.js 686 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 '@/components/App.vue';
  5. // axios
  6. import '@/config/axios.js';
  7. // include
  8. import '@/config/include.js';
  9. // 通用store
  10. import store from '@/store/store.js';
  11. // router
  12. import router from './router/index.js';
  13. // 关闭生产模式下给出的提示
  14. Vue.config.productionTip = false;
  15. /* 引入自己写的全局样式 */
  16. import '~/assets/css/xt/element.css';
  17. /* eslint-disable no-new */
  18. new Vue({
  19. el: '#app',
  20. router,
  21. store,
  22. components: { App },
  23. template: '<App/>'
  24. });