main.js 425 B

12345678910111213141516171819
  1. import Vue from 'vue'
  2. import App from './App'
  3. import $store from './store.js'
  4. import config from "./config.js"
  5. Vue.config.productionTip = false
  6. Vue.prototype.$config = config
  7. App.mpType = 'app'
  8. Vue.prototype.$store = $store // vuex
  9. //配置防止连点的公共方法
  10. import common from './common/util/clicks.js'
  11. Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
  12. const app = new Vue({
  13. ...App
  14. })
  15. app.$mount()