import App from './App' // #ifndef VUE3 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 } } // #endif