how can I colocate components in the routes directory
I have an admin dashboard page, and I have a specific component that’s only useful for those pages. Is it possible to put those components next to the route, or is there a better way?
I’m using solid start
please ping me when you reply
thanks
2 Replies
A file is only turned into a route if it has a default export, so long as the colocated file uses named exports only then you can rely on it
alright thanks