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

@@ -37,6 +37,7 @@ export interface FunctionalComponent<P = {}> {
props?: ComponentPropsOptions<P>
inheritAttrs?: boolean
displayName?: string
__hmrId?: string
}
export type Component = ComponentOptions | FunctionalComponent