mirror of https://github.com/sveltejs/svelte
parent
b05d42c067
commit
bdf3a1aafa
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: '<h1>Hello world!</h1>'
|
||||
});
|
||||
@ -0,0 +1,13 @@
|
||||
<script module>
|
||||
export { foo }
|
||||
</script>
|
||||
|
||||
<script>
|
||||
let name = 'world';
|
||||
</script>
|
||||
|
||||
<h1>Hello {name}!</h1>
|
||||
|
||||
{#snippet foo()}
|
||||
oo
|
||||
{/snippet}
|
||||
Loading…
Reference in new issue