main.js 359 B

12345678910111213141516171819202122
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store'
  4. import moment from 'moment'
  5. import utils from './util/util'
  6. moment.locale('zh-cn')
  7. Vue.prototype.utils = utils
  8. Vue.prototype.$moment = moment
  9. Vue.prototype.$store = store
  10. Vue.config.productionTip = false
  11. App.mpType = 'app'
  12. const app = new Vue({
  13. store,
  14. ...App
  15. })
  16. app.$mount()