15 lines
347 B
Svelte
15 lines
347 B
Svelte
|
<script>
|
||
|
import ArrowRightOnRect from "$svg/ArrowRightOnRect.svelte";
|
||
|
let count = $state(1);
|
||
|
|
||
|
setInterval(() => {
|
||
|
count++;
|
||
|
}, 1000);
|
||
|
</script>
|
||
|
|
||
|
<h1 class="w-6">Welcome to SvelteKit</h1>
|
||
|
<p>Tick: {count}</p>
|
||
|
<button class="btn btn-primary">Button</button>
|
||
|
<h1 class="text-3xl font-bold underline">Hello world!</h1>
|
||
|
<ArrowRightOnRect />
|