© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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
?
Recent Announcements
Similar Threads
appMiddleware for API routes?
N
Nuxt / ❓・help
2y ago
Group routes in directory without affecting url?
N
Nuxt / ❓・help
3y ago
Modifying the .output directory after pre-rendering routes
N
Nuxt / ❓・help
3y ago
api routes and vercel deployement
N
Nuxt / ❓・help
17mo ago