skip to Main Content

Html – SvelteKit – Redirect after Form Submit

I have a problem with redirecting after submitting form in SvelteKit. I have some routes that needs authentication, before rendering it I'm checking if user is authenticated. routes │   ├── +page.svelte │   ├── login │   │   ├── +page.server.ts │   │  …

VIEW QUESTION

Html – How to nest <a> inside <a>?

I'm using Svelte 5. <a href="my-first-link"> <div> <!-- Some elements --> </div> <a href="my-second-link"> <div> <!-- Some other elements --> </div> </a> <div> <!-- Some elements --> </div> </a> Svelte is throwing a lint error: `<a>` is invalid inside `<a>`svelte(node_invalid_placement)…

VIEW QUESTION
Back To Top
Search