mirror of https://github.com/sveltejs/svelte
parent
909536dac9
commit
a2368cde46
@ -0,0 +1 @@
|
|||||||
|
<div></div>
|
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
nestedTransitions: true,
|
||||||
|
html: `
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
`,
|
||||||
|
};
|
@ -0,0 +1,20 @@
|
|||||||
|
{#if foo}
|
||||||
|
<Component/>
|
||||||
|
{:else}
|
||||||
|
<Component/>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{#if foo}
|
||||||
|
<div></div>
|
||||||
|
{:else}
|
||||||
|
<div></div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
Component: './Component.html',
|
||||||
|
},
|
||||||
|
data: () => ({ foo: true }),
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in new issue