Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
API handlers - Nuxt
N
Nuxt
•
2y ago
Рочев Александр
API handlers
There is such a file structure
The goal is to have a common handler for entities as well as specific handlers for specific entities
.
The problem is that when requesting
/api/tasks/12
/api/tasks/12
, the shared handler is not used when the
tasks
tasks
folder is present at the same level as
[entity]
[entity]
Do you have any ideas how to solve it
?
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Reducing Redundant API Handlers While Preserving TypeScript Types
N
Nuxt / ❓・help
14mo ago
How to get asset URLs in api event handlers?
N
Nuxt / ❓・help
10mo ago
How to use click handlers instead of 'to' in UNavigationMenu items
N
Nuxt / ❓・help
10mo ago
Is it possible to support top level await in route handlers?
N
Nuxt / ❓・help
2y ago