alfvar
alfvar

Reputation: 115

Nested Routes in SvelteKit

SvelteKit gives me a 404 when I try to navigate to my nested route. My folder structure:

/routes/
  /+layout.svelte
  /+page.svelte
  /about/
    /+page.svelte
  /work/
    /+page.svelte
    /item1/
      /+page.svelte

In my browser I can navigate to /work, but navigating to /work/item1 throws a 404 error. What could be the reason?

Upvotes: 2

Views: 679

Answers (1)

alfvar
alfvar

Reputation: 115

Updating to Svelte 3.52 seemed to solve the problem.

Upvotes: 2

Related Questions