import App from './App' import Vue from 'vue' import store from './store' import FamilyEmptyState from './components/FamilyEmptyState/FamilyEmptyState.vue' import CustomTabBar from './custom-tab-bar/index.vue' import { formatPriceWithSymbol, formatPrice, formatRate, formatScore } from '@/utils/format' Vue.config.productionTip = false Vue.component('FamilyEmptyState', FamilyEmptyState) Vue.component('custom-tab-bar', CustomTabBar) Vue.prototype.$store = store Vue.prototype.formatPriceWithSymbol = formatPriceWithSymbol Vue.prototype.formatPrice = formatPrice Vue.prototype.formatRate = formatRate Vue.prototype.formatScore = formatScore App.mpType = 'app' const app = new Vue({ store, render: h => h(App) }) app.$mount()