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

@@ -63,6 +63,8 @@ export interface ComponentOptionsBase<
// Luckily `render()` doesn't need any arguments nor does it care about return
// type.
render?: Function
// SSR only. This is produced by compiler-ssr and attached in compiler-sfc
ssrRender?: Function
components?: Record<
string,
Component | { new (): ComponentPublicInstance<any, any, any, any, any> }