import App from './App' // 引入 uView UI import uView from 'vk-uview-ui'; // #ifndef VUE3 import Vue from 'vue' import store from './store/store'; import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ store, ...App }) Vue.use(uView) app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) // 使用 uView UI app.use(uView) return { app } } // #endif