mirror of https://github.com/sveltejs/svelte
18 lines
189 B
18 lines
189 B
8 years ago
|
{{#if foo}}
|
||
|
<Widget p='{{q}}'/>
|
||
|
{{/if}}
|
||
|
|
||
|
<script>
|
||
|
import Widget from './Widget.html';
|
||
|
|
||
|
export default {
|
||
|
data: () => ({
|
||
|
foo: false
|
||
|
}),
|
||
|
|
||
|
components: {
|
||
|
Widget
|
||
|
}
|
||
|
};
|
||
|
</script>
|