mirror of https://github.com/sveltejs/svelte
parent
6fb365e735
commit
4590b867ee
@ -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,8 @@
|
|||||||
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