mirror of https://github.com/sveltejs/svelte
parent
0d4728faf2
commit
7adfd51649
@ -0,0 +1 @@
|
|||||||
|
<p>i am a widget</p>
|
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: '<div><p>i am a widget</p></div>'
|
||||||
|
};
|
@ -0,0 +1,11 @@
|
|||||||
|
<div>
|
||||||
|
<Widget/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import Widget from './Widget.html';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: { Widget }
|
||||||
|
};
|
||||||
|
</script>
|
Loading…
Reference in new issue