wip(ssr): initial work on server-renderer

This commit is contained in:
Evan You
2020-01-23 21:01:56 -05:00
parent c07751fd36
commit da25517377
8 changed files with 110 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ export const createApp: CreateAppFunction<Element> = (...args) => {
return
}
}
const component = app.rootComponent
const component = app._component
if (
__RUNTIME_COMPILE__ &&
!isFunction(component) &&