12345678910111213141516171819202122232425262728293031323334353637 |
- import App from './App'
- import Vue from 'vue'
- import './uni.promisify.adaptor'
- import { showToast,loading } from '@/utils/index'
- Vue.prototype.$showToast = showToast
- Vue.prototype.$loading = loading
- import mixin from '@/mixins/index'
- Vue.mixin(mixin)
- import store from './store'
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
- ...App,
- store,
- })
- app.$mount()
- import { createSSRApp } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
|