SVELTE Reference: Svelte Introduction
Quick reference for Svelte Introduction.
SVELTE Reference — Svelte Introduction
Quick summary of Svelte Introduction with syntax and example.
Syntax
<script> let x=0; </script>
Example
<script>
let n = 0;
</script>
<button on:click={() => n += 1}>Count: {n}</button>