This commit is contained in:
2023-12-20 14:11:20 +08:00
parent 8bbb79ad6d
commit b9d1d74dee

14
main.js
View File

@ -11,17 +11,19 @@ Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
store,
...App
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
import {
createSSRApp
} from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
const app = createSSRApp(App)
return {
app
}
}
// #endif