Skip to content

Commit ae0fb14

Browse files
committed
wip: fix native template compat
1 parent 7c1e665 commit ae0fb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-core/src/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function parseChildren(
209209
!node.props.some(
210210
p =>
211211
p.type === NodeTypes.DIRECTIVE &&
212-
(p.name === 'if' || p.name === 'for' || p.name === 'slot')
212+
isSpecialTemplateDirective(p.name)
213213
)
214214
) {
215215
__DEV__ &&

0 commit comments

Comments
 (0)