Files
APP/main.js
2025-08-28 14:05:06 +08:00

35 lines
499 B
JavaScript

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