pull/7738/head
Rich-Harris 9 years ago
parent e39af1b946
commit 789b759d48

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