Hacker News new | ask | show | jobs
by NorwegianDude 1099 days ago
I have tried to use sveltekit once and turned around in 20 minutes as routing is severely limited. All I wanted to do was to route based on domain, with a different set of routes for one of the domains. Not exactly complicated or uncommon, but not something you can do with the sveltekit router.
2 comments

This is gone over in the github threads about such a feature - basically, as two different projects semantically, the best thing is to create two different projects physically, in a monorepo. All the code-sharing with none of the additional complexity.
So you cannot do dynamically named routes in svelte (e.g. localization)?

Just curious, I have no experience in svelte. It does sound like a major limitation.

As for routing, I guess that gets unmanageable pretty fast. Just in the sample blog tutorial here [0], you get confused with the number of files and nested folders that has same file names as level above.

[0] https://learn.svelte.dev/tutorial/params