Switch to Svelte
This commit is contained in:
5
frontend/src/lib/Counter.svelte
Normal file
5
frontend/src/lib/Counter.svelte
Normal file
@@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let count = $state(0)
|
||||
</script>
|
||||
|
||||
<button type="button" class="counter" onclick={() => count++}>Count is {count}</button>
|
||||
Reference in New Issue
Block a user