feat(ssr): serverPrefetch

This commit is contained in:
Evan You
2020-09-01 22:52:46 -04:00
parent 63f1f18064
commit c73b4a0e10
4 changed files with 55 additions and 5 deletions

View File

@@ -103,6 +103,7 @@ export interface ComponentOptionsBase<
directives?: Record<string, Directive>
inheritAttrs?: boolean
emits?: (E | EE[]) & ThisType<void>
serverPrefetch?(): Promise<any>
// Internal ------------------------------------------------------------------