However, the fix is not documented, nor is the property routes a part of Svemix_Config_Object. Although, the property routes is a part of the defaultConfig, which is why the problem can be fixed.
Still, the most sensible way to go about this would be just to respect the configuration of kit.files.routes.
Hey, that seems fairly reasonable to me. I think i can get the required changes in very quickly, since we're already loading the config this should be pretty straight forward.
The route directory can be changed with SvelteKit like this:
However, this configuration will essentially disable Svemix, because the route directory is hardcoded as
src/routes
.This can be fixed by amending the config like this:
However, the fix is not documented, nor is the property
routes
a part of Svemix_Config_Object. Although, the propertyroutes
is a part of the defaultConfig, which is why the problem can be fixed.Still, the most sensible way to go about this would be just to respect the configuration of
kit.files.routes
.