pixelmund / svemix

The Full-Stack addition to SvelteKit. Write your server code inside svelte files, handle sessions, forms and SEO easily.
https://svemix.com
MIT License
336 stars 16 forks source link

Explore methods that don't generate magic endpoints #7

Closed pixelmund closed 2 years ago

pixelmund commented 2 years ago

Currently every route that declares context="module ssr" generates a corresponding endpoint file under $svemix. I would really like to explore methods that doesnt need this behaviour, maybe we can use the handle hook for this. Or create the .svemix folder in the root of the project similar to SvelteKit, but then there would bei changes in kit needed for allowing multiple routes folders.

pixelmund commented 2 years ago

I thought about this more, if we stick to kit i think there is no solid way to improve this behaviour. I'm going to close this issue for now.