mirror of https://github.com/sveltejs/svelte
parent
e1f7c60ea9
commit
e7efc3e568
@ -1,3 +0,0 @@
|
|||||||
import Foo from './Foo.svelte';
|
|
||||||
|
|
||||||
export default { Foo };
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<script context="module">
|
||||||
|
import Foo from './Foo.svelte';
|
||||||
|
|
||||||
|
export const Components = { Foo };
|
||||||
|
</script>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
export default {
|
export default {
|
||||||
html: '<text>hello world</text>',
|
html: '<svg><text>hello world</text></svg>',
|
||||||
preserveIdentifiers: true
|
preserveIdentifiers: true
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
let foo = 'hello world'
|
let foo = 'hello world'
|
||||||
</script>
|
</script>
|
||||||
|
<svg>
|
||||||
<text>{foo}</text>
|
<text>{foo}</text>
|
||||||
|
</svg>
|
||||||
Loading…
Reference in new issue