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 – Official example Svelte modal component is not closing from parent component in SvelteKit project

I have added Modal to my Sveltekit Application from official example given at https://svelte.dev/examples/modal My Modal.svelte is <script> export let showModal; // boolean let dialog; // HTMLDialogElement $: if (dialog && showModal) dialog.showModal(); </script> <!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions --> <dialog…

VIEW QUESTION
Back To Top
Search