main.js 339 B

12345678910111213141516171819
  1. import App from './App'
  2. import Vue from 'vue'
  3. // 引入tmVuetify组件
  4. import tmVuetify from "./tm-vuetify";
  5. Vue.use(tmVuetify)
  6. // 引入vuex
  7. import store from './store'
  8. //把vuex定义成全局组件
  9. Vue.prototype.$store = store
  10. Vue.config.productionTip = false
  11. App.mpType = 'app'
  12. const app = new Vue({
  13. ...App,
  14. store
  15. })
  16. app.$mount()