未验证 提交 7cd53f26 编写于 作者: Q qiang014 提交者: Gitee

update docs/tutorial/migration-to-vue3.md.

上级 d57fa190
...@@ -27,6 +27,7 @@ app.$mount() ...@@ -27,6 +27,7 @@ app.$mount()
```JS ```JS
import App from './App' import App from './App'
import { createSSRApp } from 'vue' import { createSSRApp } from 'vue'
// 不能修改导出的 createApp 方法名,不能修改从 Vue 中导入的 createSSRApp。
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
return { return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册