main.js 519 B

123456789101112131415161718192021222324
  1. import Vue from 'vue'
  2. import App from './App'
  3. import uView from "uview-ui";
  4. Vue.use(uView);
  5. Vue.config.productionTip = false
  6. import store from './store'
  7. import _ from 'lodash'
  8. import {jump,jumpToTabbar,goBack,getJumpParam} from './utils/jumpUtil'
  9. Vue.prototype.$store = store
  10. Vue.prototype.$lodash = _
  11. Vue.prototype.$jump = jump
  12. Vue.prototype.$jumpToTabbar = jumpToTabbar
  13. Vue.prototype.$goBack = goBack
  14. Vue.prototype.$getJumpParam = getJumpParam
  15. App.mpType = 'app'
  16. const app = new Vue({
  17. ...App
  18. })
  19. app.$mount()