Spaces:
No application file
No application file
Download src/lib/Counter.svelte from test123713/test854: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/spaces/test123713/test854/resolve/main/src/lib/Counter.svelte
- Command line
-
hf download hf://spaces/test123713/test854/src/lib/Counter.svelte
-
curl -L -o Counter.svelte https://huggingface.co/spaces/test123713/test854/resolve/main/src/lib/Counter.svelte
167 Bytes
| <script lang="ts"> | |
| let count: number = $state(0) | |
| const increment = () => { | |
| count += 1 | |
| } | |
| </script> | |
| <button onclick={increment}> | |
| count is {count} | |
| </button> | |