This commit is contained in:
2025-11-10 14:30:23 +08:00
parent ca97e8dba2
commit 508f6154f8
32 changed files with 472 additions and 248 deletions

View File

@@ -5,16 +5,24 @@ import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
console.log('🚀 Vue2应用开始初始化', new Date().toISOString())
const app = new Vue({
...App
})
console.log('✅ Vue实例创建完成', new Date().toISOString())
app.$mount()
console.log('✅ Vue实例挂载完成', new Date().toISOString())
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
console.log('🚀 Vue3应用开始初始化', new Date().toISOString())
const app = createSSRApp(App)
console.log('✅ Vue3应用实例创建完成', new Date().toISOString())
return {
app
}