basic setup with Svelte, Tailwind and DaisyUI

This commit is contained in:
2024-10-23 00:19:08 +05:30
parent 7b65f3313e
commit ad57664a3e
26 changed files with 2315 additions and 237 deletions

View File

@@ -0,0 +1,6 @@
<script>
import "../app.css";
const { children } = $props();
</script>
{@render children()}

View File

@@ -0,0 +1,14 @@
<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 />