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