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 {
|
||||
html: `<text>hello world</text>`,
|
||||
html: `
|
||||
<svg>
|
||||
<text>hello world</text>
|
||||
</svg>
|
||||
`,
|
||||
preserveIdentifiers: true,
|
||||
};
|
@ -1,5 +1,6 @@
|
||||
<script>
|
||||
let foo = 'hello world'
|
||||
</script>
|
||||
|
||||
<text>{foo}</text>
|
||||
<svg>
|
||||
<text>{foo}</text>
|
||||
</svg>
|
Loading…
Reference in new issue