| import App from './App' | 
| import store from './store/index.js' | 
| import uView from "uview-ui" | 
| // #ifndef VUE3 | 
| import Vue from 'vue' | 
| import './uni.promisify.adaptor' | 
|   | 
| Vue.config.productionTip = false | 
| Vue.use(uView) | 
| Vue.prototype.$store = store | 
| Vue.prototype.showToast = (str) => { | 
|     setTimeout(() => { | 
|         uni.showToast({ | 
|           title: str, | 
|           icon: 'none', | 
|           duration: 2000 | 
|         }) | 
|     }) | 
| } | 
| Vue.prototype.$eventBus = new Vue() | 
| App.mpType = 'app' | 
| const app = new Vue({ | 
|   ...App | 
| }) | 
| app.$mount() | 
| // #endif | 
|   | 
| // #ifdef VUE3 | 
| import { createSSRApp } from 'vue' | 
| export function createApp() { | 
|   const app = createSSRApp(App) | 
|   return { | 
|     app | 
|   } | 
| } | 
| // #endif |