setup: first svelte setup

This commit is contained in:
2025-09-10 10:27:55 +02:00
commit e2924483e2
19 changed files with 3809 additions and 0 deletions

11
src/routes/+layout.svelte Normal file
View File

@@ -0,0 +1,11 @@
<script lang="ts">
import favicon from '$lib/assets/favicon.svg';
let { children } = $props();
</script>
<svelte:head>
<link rel="icon" href={favicon} />
</svelte:head>
{@render children?.()}

9
src/routes/+page.svelte Normal file
View File

@@ -0,0 +1,9 @@
<script>
let numbers = 0;
for (let i = 1; i < 10; i++) {
numbers++;
}
</script>
<h1>Welcome to SvelteKit {numbers}</h1>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>

11
src/routes/test/+page.svx Normal file
View File

@@ -0,0 +1,11 @@
---
layout: blog
---
# Title
---
1. asd
2. asd
3. asd