Skip to content

Commit 8cb56dd

Browse files
pikaxyyx990803
authored andcommitted
feat: added transformVText to directiveTransform (vuejs#182)
1 parent d10b28a commit 8cb56dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/compiler-dom/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { parserOptionsStandard } from './parserOptionsStandard'
44
import { transformStyle } from './transforms/transformStyle'
55
import { transformCloak } from './transforms/vCloak'
66
import { transformVHtml } from './transforms/vHtml'
7+
import { transformVText } from './transforms/vText'
78

89
export function compile(
910
template: string,
@@ -16,6 +17,7 @@ export function compile(
1617
directiveTransforms: {
1718
cloak: transformCloak,
1819
html: transformVHtml,
20+
text: transformVText,
1921
...(options.directiveTransforms || {})
2022
}
2123
})

0 commit comments

Comments
 (0)