mirror of https://github.com/sveltejs/svelte
Merge pull request #1017 from sveltejs/gh-1007
allow components without slots to have whitespace as only childpull/1021/head
commit
05439df9c7
@ -0,0 +1 @@
|
||||
<p>no slot here</p>
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: '<p>no slot here</p>'
|
||||
};
|
@ -0,0 +1,12 @@
|
||||
<Nested>
|
||||
</Nested>
|
||||
|
||||
<script>
|
||||
import Nested from './Nested.html';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Nested
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue