svelte/test/runtime/samples/component-yield/main.html

17 lines
142 B

<p>
Hello
{{#if test}}
{{yield}}
{{/if}}
</p>
<script>
export default {
data () {
return {
test: true
};
}
};
</script>