wip: fix native template compat

This commit is contained in:
Evan You 2021-05-04 18:10:57 -04:00
parent 7c1e665215
commit ae0fb14305

View File

@ -209,7 +209,7 @@ function parseChildren(
!node.props.some(
p =>
p.type === NodeTypes.DIRECTIVE &&
(p.name === 'if' || p.name === 'for' || p.name === 'slot')
isSpecialTemplateDirective(p.name)
)
) {
__DEV__ &&