main.js 414 B

1234567891011121314151617
  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. Vue.config.productionTip = false
  8. Vue.prototype.$ajax = axios
  9. /* eslint-disable no-new */
  10. new Vue({
  11. el: '#app',
  12. router,
  13. components: { App },
  14. template: '<App/>'
  15. })