mirror of https://github.com/sveltejs/svelte
parent
a2232dcb3e
commit
8768c5d7bd
@ -1,14 +1,14 @@
|
|||||||
<h1>Hello {name}!</h1>
|
<h1>Hello {name}!</h1>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This is a Svelte component. Click the toggle
|
This is a Svelte component. Click 'JS output' in
|
||||||
below right to see the generated code.
|
the output section to see compiled code.
|
||||||
|
|
||||||
You can interact with this component via your
|
You can interact with this component via your
|
||||||
browser's console - try running the following:
|
browser's console - try running the following:
|
||||||
|
|
||||||
app.name = 'everybody';
|
app.name = 'everybody';
|
||||||
|
|
||||||
You can also update the data via the props
|
You can also update the name via the props
|
||||||
editor on this page.
|
editor on this page.
|
||||||
-->
|
-->
|
Loading…
Reference in new issue