Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
API routes directory - Nuxt
N
Nuxt
•
2y ago
•
4 replies
white_rqbbit
API routes directory
I
'd like to have all my routes grouped together
.
In the image example I provide
, everything works fine
, but
datasource.get.ts
datasource.get.ts
and
datasource.post.ts
datasource.post.ts
are outside of the
/datasource
/datasource
directory
.
Is there a way to do so
?
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
appMiddleware for API routes?
N
Nuxt / ❓・help
2y ago
Group routes in directory without affecting url?
N
Nuxt / ❓・help
3y ago
api routes and vercel deployement
N
Nuxt / ❓・help
16mo ago
Handling Cookies in API Routes
N
Nuxt / ❓・help
3y ago