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,7 +66,9 @@ export {
TransitionHooks
} from './components/BaseTransition'
// Internal, for compiler generated code
// Internal API ----------------------------------------------------------------
// For compiler generated code
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
export { withDirectives } from './directives'
export {
@@ -87,7 +89,7 @@ import { capitalize as _capitalize, camelize as _camelize } from '@vue/shared'
export const capitalize = _capitalize as (s: string) => string
export const camelize = _camelize as (s: string) => string
// Internal, for integration with runtime compiler
// For integration with runtime compiler
export { registerRuntimeCompiler } from './component'
// Types -----------------------------------------------------------------------