under the hood it fakes the necessary +page.svelte/+page.server.js files and the directories.
The Solution is pretty hacky by patching the fs module quite a lot...
Stuff missing / not working:
[ ] HMR doesn't work - Vite isn't able to detect changes to the route files because we're faking the +page etc. files, i'm sure there is a way to solve this and if anyone knows vite a bit better feel free to help out! Currently we're restarting the dev server on changes...
[X] Loader/Actions in Layouts
[x] Figure out a weird hydration issue in the Svemix Repo which would cause tests to fail. It works fine on a new project and npm link.
This PR brings the old SvelteKit Routing back!
under the hood it fakes the necessary +page.svelte/+page.server.js files and the directories.
The Solution is pretty hacky by patching the fs module quite a lot...
Stuff missing / not working: