main.js 254 B

12345678910111213141516
  1. import Vue from 'vue'
  2. import App from './App'
  3. import wechat from './common/util/wechat'
  4. if(wechat.isWechat()){
  5. Vue.prototype.$wechat = wechat;
  6. }
  7. Vue.config.productionTip = false
  8. App.mpType = 'app'
  9. const app = new Vue({
  10. ...App
  11. })
  12. app.$mount()