Commit b87ad3ef by zhangxingmin

push

parent 76ed553b
...@@ -13,9 +13,9 @@ import App from './App.vue'; ...@@ -13,9 +13,9 @@ import App from './App.vue';
import { createSSRApp } from 'vue' import { createSSRApp } from 'vue'
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
return { // 关键:挂载应用到 #app 节点
app app.mount('#app')
} return { app }
} }
// #endif // #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment