3 ms·
FYI SvelteKit moved from file-based routing to filesystem-based or directory-based routing[1]. This change was inspired by next.js[2] Many users grumbled about
by Leftium 3y ago
FYI SvelteKit moved from file-based routing to filesystem-based or directory-based routing[1]. This change was inspired by next.js[2]
Many users grumbled about needing more folders and files. With many files sharing the same name. But I think this was the right choice. See the explanations in the links below.
[1]: https://github.com/sveltejs/kit/discussions/5037 https://github.com/sveltejs/kit/discussions/5037
[2]: https://nextjs.org/blog/layouts-rfc https://nextjs.org/blog/layouts-rfc