mirror of https://github.com/sveltejs/svelte
parent
2b71798dd2
commit
8797df921f
@ -0,0 +1,4 @@
|
||||
<script>
|
||||
let foo = 42;
|
||||
export { foo as bar };
|
||||
</script>
|
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
html: `
|
||||
<div>42</div>
|
||||
`
|
||||
};
|
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
import Widget from './Widget.svelte';
|
||||
let bar;
|
||||
</script>
|
||||
|
||||
<Widget bind:bar/>
|
||||
|
||||
<div>{bar}</div>
|
Loading…
Reference in new issue