mirror of https://github.com/sveltejs/svelte
parent
1ea09f61c0
commit
14d22502d1
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
export let tag;
|
export let tag;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:element this='{tag}'>foo</svelte:element>
|
<svelte:element this='{tag}'>foo</svelte:element>
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
export let tag;
|
export let tag;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:element this='{tag}'><div>bar</div></svelte:element>
|
<svelte:element this='{tag}'><div>bar</div></svelte:element>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Nested from './Nested.svelte';
|
import Nested from './Nested.svelte';
|
||||||
export let tag;
|
export let tag;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:element this='{tag}'><Nested/></svelte:element>
|
<svelte:element this='{tag}'><Nested/></svelte:element>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Nested from './Nested.svelte';
|
import Nested from './Nested.svelte';
|
||||||
export let tag;
|
export let tag;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:element this='{tag}'><Nested/></svelte:element>
|
<svelte:element this='{tag}'><Nested/></svelte:element>
|
||||||
Loading…
Reference in new issue