main.js 287 B

1234567891011121314151617
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from "./store"
  4. import uView from "uview-ui";
  5. Vue.use(uView);
  6. Vue.config.productionTip = false
  7. Vue.prototype.$store = store // 挂载到Vue实例上
  8. App.mpType = 'app'
  9. const app = new Vue({
  10. store,
  11. ...App
  12. })
  13. app.$mount()