main.js 469 B

12345678910111213141516171819
  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 axios from 'axios';
  7. import '@/assets/reset.css'/*引入公共样式*/
  8. Vue.config.productionTip = false
  9. Vue.prototype.$axios = axios
  10. /* eslint-disable no-new */
  11. new Vue({
  12. el: '#app',
  13. router,
  14. components: { App },
  15. template: '<App/>'
  16. })