This commit is contained in:
2023-03-21 17:56:02 +08:00
parent 995deef4d5
commit eac8674816
23 changed files with 663 additions and 63 deletions

View File

@@ -1,11 +1,13 @@
import App from './App'
import store from '@/vuex/store.js'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
...App,
store
})
app.$mount()
// #endif
@@ -15,7 +17,8 @@ import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
app,
store
}
}
// #endif