Last active
November 23, 2016 15:06
-
-
Save Rich-Harris/0ed5146aa22c28410dfcff2050f3d2f8 to your computer and use it in GitHub Desktop.
Hello world!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Hello {{name}}!</h1> | |
<p>This is a Svelte component. Switch to the <strong>output</strong> view to see the generated code.</p> | |
<p>You can interact with this component via your browser's console – try running the following:</p> | |
<pre><code> | |
component.set({ name: 'everybody' }); | |
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "world" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment