feat(compiler-core): support <portal> in template (#203)

This commit is contained in:
terencez
2019-10-15 03:11:04 +08:00
committed by Evan You
parent 37cbd0098d
commit 4547d85a38
4 changed files with 66 additions and 4 deletions

View File

@@ -445,6 +445,7 @@ function parseTag(
if (tag === 'slot') tagType = ElementTypes.SLOT
else if (tag === 'template') tagType = ElementTypes.TEMPLATE
else if (tag === 'portal' || tag === 'Portal') tagType = ElementTypes.PORTAL
}
return {