main.js 478 B

123456789101112131415161718192021222324
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store'
  4. import mixin from './mixin/index'
  5. import uniAsync from '@/utils/uni-async.js'// uni api async 化
  6. Vue.prototype.$uniAsync = uniAsync
  7. import w_md5 from "./js_sdk/zww-md5/w_md5.js"
  8. Vue.prototype.$md5 = w_md5;//挂在MD5
  9. // vant 全局组件
  10. import './utils/vantRegister';
  11. Vue.config.productionTip = false
  12. App.mpType = 'app'
  13. Vue.mixin(mixin);
  14. const app = new Vue({
  15. store,
  16. ...App
  17. })
  18. app.$mount()