I'm using SvelteKit 2 to make a client-side rendered (CSR) progressive web app (PWA).
I'd like to have routes like:
I've tried using the filesystem based router, where my directory structure looks like this:
src/routes/somethingsrc/routes/something/[slug]
It renders the something/[slug]
route fine, but it's not rendering the /something
route.
I've tried reading the SvelteKit 2 docs and it doesn't appear to cover this case.
Is there a way to make this routing work in SvelteKit 2?
Currently my workaround is to change the route to /something-else
that doesn't match the slug route.