renamed dir client to web
This commit is contained in:
6
web/routes/+layout.svelte
Normal file
6
web/routes/+layout.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
import "../app.css";
|
||||
const { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children()}
|
14
web/routes/+page.svelte
Normal file
14
web/routes/+page.svelte
Normal 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 />
|
Reference in New Issue
Block a user