render <slot> elements

pull/811/head
Rich Harris 7 years ago
parent 30e58c4a73
commit af618ba93f

@ -44,7 +44,7 @@ export default function visitElement(
return meta[node.name](generator, block, node); return meta[node.name](generator, block, node);
} }
if (node.name === 'slot') { if (node.name === 'slot' && !generator.customElement) {
return visitSlot(generator, block, state, node, elementStack, componentStack); return visitSlot(generator, block, state, node, elementStack, componentStack);
} }

Loading…
Cancel
Save