main.js 311 B

123456789101112131415161718
  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. Vue.use(plugins)
  7. Vue.config.productionTip = false
  8. Vue.prototype.$store = store
  9. App.mpType = 'app'
  10. const app = new Vue({
  11. ...App
  12. })
  13. app.$mount()