Relative Content

Tag Archive for sveltesveltekit

Universal rendering skeleton Loading in sveltekit

I’m working on a SvelteKit project where I aim to achieve universal rendering. My goal is to have the first request be server-side rendered (SSR), and then switch to client-side rendering (CSR) for subsequent navigation. However, I’m encountering a problem that I can’t seem to resolve.

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.