main.js 414 B

1234567891011121314151617181920212223
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import '@/mixins'
  4. import router from './router'
  5. import {axios, serverLocation} from './utils/http'
  6. Vue.config.productionTip = false
  7. Vue.prototype.$http = axios
  8. Vue.prototype.$serverName = serverLocation
  9. Vue.prototype.$type = {
  10. model:'实物模型',
  11. img:'专题图库',
  12. video:'视频档案'
  13. }
  14. new Vue({
  15. router,
  16. render: h => h(App)
  17. }).$mount('#app')