-
I'm using v288. Can anyone else confirm this behavior or am i doing something wrong? i have: index (http://localhost:3000) loads properly every time. [root_page].svelte
[root_page].js
index and section_pages are more of the same, with index not having a slug param. Manually passing in the string for the slug for the [root_page] has no effect. Same behavior. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Sounds like this might be the same issue as #4038. |
Beta Was this translation helpful? Give feedback.
-
Most of your routes are dynamic, I would advise you to prefix the route with a static word like |
Beta Was this translation helpful? Give feedback.
-
@JSaretin With My routes are fully dynamic because i'm trying to build a CMS with Sveltekit, where the admin user needs to have full control over the structure of the resulting public-facing site. For SEO, clarity, and aesthetic reasons, i can't really be putting words in their routes like I believe my fully dynamic routes didn't work due to a bug (or just unfinished implementation), which was fixed in sveltekit 293 or 294. They work now (it serves the same-named . I should have reported back and closed this discussion, so you didn't have to spend your time trying to help. Thanks though! |
Beta Was this translation helpful? Give feedback.
@JSaretin With
shadow endpoints
, now renamed toendpoints
the.svelte
file is populated with the data from the same-named.js
, as described in the updated/current docs. The example.svelte
and.js
are both named the same, and the file names are dynamic, though not at the top level directory.My routes are fully dynamic because i'm trying to build a CMS with Sveltekit, where the admin user needs to have full control over the structure of the resulting public-facing site. For SEO, clarity, and aesthetic reasons, i can't really be putting words in their routes like
category-[the-cat-you-really-wanted].svelte
. Also, my.svelte
files don't haveload
functions anymore since the change toshadow…