wip(ssr): element scopeId
This commit is contained in:
@@ -246,6 +246,10 @@ export const ssrTransformElement: NodeTransform = (node, context) => {
|
||||
removeStaticBinding(openTag, 'class')
|
||||
}
|
||||
|
||||
if (context.scopeId) {
|
||||
openTag.push(` ${context.scopeId}`)
|
||||
}
|
||||
|
||||
openTag.push(`>`)
|
||||
if (rawChildren) {
|
||||
openTag.push(rawChildren)
|
||||
|
||||
Reference in New Issue
Block a user