main.js 360 B

1234567891011121314151617181920
  1. import Vue from 'vue'
  2. import App from './App'
  3. Vue.config.productionTip = false
  4. import store from './store'
  5. Vue.prototype.$store = store
  6. import api from "@/common/utils/request.js"
  7. Vue.prototype.$api = api
  8. import * as tos from "@/common/utils/tips.js"
  9. Vue.prototype.$tos = tos
  10. App.mpType = 'app'
  11. const app = new Vue({
  12. store ,
  13. ...App
  14. })
  15. app.$mount()