import App from './App' import api from '@/apis/api.js' import common from '@/common/js/common.js' import uView from "uview-ui"; // #ifndef VUE3 // #ifdef VUE3 import Vue, {createSSRApp} from 'vue' Vue.use(uView); Vue.config.productionTip = false App.mpType = 'app' Vue.prototype.$api = api Vue.prototype.$common = common const app = new Vue({ ...App }) app.$mount() // #endif export function createApp() { const app = createSSRApp(App) return { app } } // #endif