How can I have seperate functionality in development and release builds in sveltekit?
What i am trying to do is have a some debug tools that are present in development builds, eg. yarn run dev
but are not accessible in release builds, eg. yarn run build
Custom 404 Error Pages in SvelteKit Not Rendering as Expected Based on Folder Structure
I’m building an application using SvelteKit and I want to create custom error pages that are specific to different parts of my application based on their folder structure. My understanding is that SvelteKit should allow me to have +error.svelte files in different folders, and any 404 errors encountered within those folders should trigger the nearest +error.svelte file.
Svelte reactive prop not updating
I am trying to edit the contents of a component containing a text area, inside of a dynamic route. However this code does not update unless I refresh the page even if the variable is set reactively.
Svelte reactive prop not updating
I am trying to edit the contents of a component containing a text area, inside of a dynamic route. However this code does not update unless I refresh the page even if the variable is set reactively.
Why does my messageStore resets whenever I edit it in SvelteKit
I am having an issue with messageStore which is a simple writable(“”). I use it to display any messages in +layout.svelte
SvelteKit goto keeps executing code after
On the client side, I send a JWT to the backend API for certain requests. If there is some issue with the JWT or it’s not refreshed, I want to cancel everything and direct the user to the sign-in page.
Sveltekit Prop shows for a second then goes away
I’m definitely very new to this so apologies if it’s a simple answer.
Sveltekit Prop shows for a second then goes away
I’m definitely very new to this so apologies if it’s a simple answer.
SvelteKit is wrapping my response and I can’t figure out why
I have a SvelteKit action that looks like this:
Could not open +page.svelte in the editor
Randomly started getting this error on my Svelte projects recently when using the code inspector to open up files. Have no idea how to resolve. It only affects files with special characters in the name.