mirror of https://github.com/sveltejs/svelte
parent
ecffd81c22
commit
e86da84c79
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: '<p>hello world</p>'
|
||||||
|
});
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
let name = $state("world");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<p>hello {name}</p>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: 'hello world'
|
||||||
|
});
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
let name = $state("world");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
hello {name}
|
||||||
Loading…
Reference in new issue