main.js 588 B

1234567891011121314151617181920212223
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store' // store
  4. import plugins from './plugins' // plugins
  5. import './permission' // permission
  6. import qsk from './utils/qsk.js'
  7. Vue.use(plugins)
  8. Vue.config.productionTip = false
  9. Vue.prototype.$store = store
  10. App.mpType = 'app'
  11. Vue.prototype.$qsk = qsk
  12. // 全局注册
  13. import pageHead from './components/page-head/page-head.vue'
  14. import customHead from './components/custom-head/custom-head.vue'
  15. Vue.component('page-head', pageHead)
  16. Vue.component('custom-head', customHead)
  17. const app = new Vue({
  18. ...App
  19. })
  20. app.$mount()