paraderos_frontend/src/lib/Counter.svelte

11 lines
142 B
Svelte
Raw Normal View History

2023-12-05 10:48:38 -03:00
<script>
let count = 0
const increment = () => {
count += 1
}
</script>
<button on:click={increment}>
count is {count}
</button>