Is it possible to have a nextjs-style app router?

... where (inside app/) route.ts are API calls and page.ts are pages. Is the intention to not move in that direction to clearly separate API code from client side code?
5 Replies
peerreynders
peerreynders7mo ago
In what way do you see SolidStart impeding your intent of separating the two?
chirptune
chirptuneOP7mo ago
It seems to me the solid start router works like nextjs' Pages Router. And I would like to have it in the style of App Router. ... where only the routes named page.js are taken as pages routes, instead of every file used as a route.
peerreynders
peerreynders7mo ago
The convention that Start has adopted it that only files with a default export relate to routing
peerreynders
peerreynders7mo ago
Other conventions are used to communicate some intent.
SolidStart Release Candidate Documentation
SolidStart Release Candidate Documentation
Early release documentation and resources for SolidStart Release Candidate
chirptune
chirptuneOP7mo ago
I see, thank you for clarifying that.
Want results from more Discord servers?
Add your server