SvelteKit: Wieso geht die Verlinkung nicht?
<script lang="ts"></script>
<div class="flex flex-row md:h-[2.8rem] bg-black-800">
<div class="">
<button class="text-white md:py-2">
Beta Version 🆕 Still in Development 🚧 Happy Halloween 🎃
</button>
<a href="src/routes/policy" class="text-white md:py-2">Policy</a>
</div>
</div>
Wieso funktioniert das Verlinken in SvelteKit einfach nicht?
The link is of course only /policy without /src/routes. Change that and delete the browser cache. If that doesn’t work, write the error message?
The link only needs
without /src/routes, see https://kit.svelte.dev/docs/routing
does not work
Then something is wrong with your setup
Not normally used
do I have to import anything?