mirror of https://github.com/sveltejs/svelte
15 lines
191 B
15 lines
191 B
8 years ago
|
<div>
|
||
|
<Widget>{{data}}</Widget>
|
||
|
</div>
|
||
|
<script>
|
||
|
import Widget from './Widget.html'
|
||
|
export default {
|
||
|
components: { Widget },
|
||
|
data(){
|
||
|
return {
|
||
|
data: "Hello"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|