feat(compiler-core): support <portal> in template (#203)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user