main.js 634 B

1234567891011121314151617181920212223
  1. import App from './App'
  2. import Vue from 'vue'
  3. import store from './store'
  4. import FamilyEmptyState from './components/FamilyEmptyState/FamilyEmptyState.vue'
  5. import { formatPriceWithSymbol, formatPrice, formatRate, formatScore } from '@/utils/format'
  6. Vue.config.productionTip = false
  7. Vue.component('FamilyEmptyState', FamilyEmptyState)
  8. Vue.prototype.$store = store
  9. Vue.prototype.formatPriceWithSymbol = formatPriceWithSymbol
  10. Vue.prototype.formatPrice = formatPrice
  11. Vue.prototype.formatRate = formatRate
  12. Vue.prototype.formatScore = formatScore
  13. App.mpType = 'app'
  14. const app = new Vue({
  15. store,
  16. render: h => h(App)
  17. })
  18. app.$mount()