feat(runtime): support rendering comment nodes

This commit is contained in:
Evan You
2019-09-24 14:37:14 -04:00
parent f5b3f580f1
commit 76a1196935
4 changed files with 19 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ export {
createBlock
} from './vnode'
// VNode type symbols
export { Text, Empty, Fragment, Portal, Suspense } from './vnode'
export { Text, Comment, Fragment, Portal, Suspense } from './vnode'
// VNode flags
export { PublicPatchFlags as PatchFlags } from './patchFlags'
export { PublicShapeFlags as ShapeFlags } from './shapeFlags'