pull/527/head
Rich-Harris 8 years ago
parent 9427f63b95
commit 11d8698184

@ -264,7 +264,7 @@ function preprocessChildren ( generator, block, state, node, isTopLevel ) {
if ( lastChild ) {
lastChild.next = child;
lastChild.needsAnchor = !child._state.name;
lastChild.needsAnchor = !child._state || !child._state.name;
}
lastChild = child;

@ -0,0 +1,6 @@
export default {
html: `
<div>before</div>
test
`
};

@ -0,0 +1,11 @@
<Foo>test</Foo>
<script>
import Foo from './Foo.html';
export default {
components: {
Foo
}
};
</script>
Loading…
Cancel
Save