Files
dash/frontend/src/components/Counter.svelte
2022-11-09 21:05:20 +01:00

11 lines
160 B
Svelte

<script lang="ts">
let count: number = 0
const increment = () => {
count += 1
}
</script>
<button on:click={increment}>
count is {count}
</button>