feat(compiler-dom): transform for v-html

This commit is contained in:
Evan You
2019-10-08 15:35:57 -04:00
parent 5c4478b00b
commit eadcaead37
10 changed files with 121 additions and 21 deletions

View File

@@ -45,6 +45,7 @@ export type NodeTransform = (
// It translates the raw directive into actual props for the VNode.
export type DirectiveTransform = (
dir: DirectiveNode,
node: ElementNode,
context: TransformContext
) => {
props: Property | Property[]