提交 6a1931f4 编写于 作者: Q qiang

chore: 打印页面节点信息

上级 2557da40
...@@ -4,7 +4,14 @@ import { createSSRApp } from 'vue' ...@@ -4,7 +4,14 @@ import { createSSRApp } from 'vue'
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
app.mixin({
onReady() {
setTimeout(() => {
console.log(this.$appPage!.getDomJson())
}, 100)
}
})
return { return {
app app
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册