main.js 410 B

12345678910111213141516171819
  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 BaiduMap from 'vue-baidu-map'
  7. Vue.use(plugins)
  8. Vue.config.productionTip = false
  9. Vue.prototype.$store = store
  10. Vue.use(BaiduMap, { ak: 'tGuSDn0T1TNngFMZ3unJBzvHIjGRcElF' })
  11. App.mpType = 'app'
  12. const app = new Vue({
  13. ...App
  14. })
  15. app.$mount()