mirror of https://github.com/sveltejs/svelte
handle directives on components (fixes #216)
parent
b23572d7e8
commit
e7dd885ecf
@ -0,0 +1 @@
|
||||
<p>widget</p>
|
@ -0,0 +1 @@
|
||||
<div><p>widget</p></div>
|
@ -0,0 +1 @@
|
||||
<div><p>widget</p></div>
|
@ -0,0 +1,9 @@
|
||||
<div><Widget ref:widget/></div>
|
||||
|
||||
<script>
|
||||
import Widget from './Widget.html';
|
||||
|
||||
export default {
|
||||
components: { Widget }
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue