feat(runtime-core): hot module replacement

This commit is contained in:
Evan You
2019-12-12 12:42:21 -05:00
parent 3116b5d6c3
commit efe39db023
7 changed files with 108 additions and 2 deletions

View File

@@ -66,6 +66,10 @@ export interface ComponentOptionsBase<
directives?: Record<string, Directive>
inheritAttrs?: boolean
// SFC & dev only
__scopeId?: string
__hmrId?: string
// type-only differentiator to separate OptionWithoutProps from a constructor
// type returned by createComponent() or FunctionalComponent
call?: never