mirror of https://github.com/sveltejs/svelte
15 lines
158 B
15 lines
158 B
8 years ago
|
before
|
||
|
{{#if visible}}
|
||
|
<Widget />
|
||
|
{{/if}}
|
||
|
after
|
||
|
<script>
|
||
|
import Widget from './Widget.html';
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
Widget
|
||
|
}
|
||
|
};
|
||
|
</script>
|