Skip to content

How do dynamic /api routes (specifically catch all routes) work? #947

Answered by amyegan
qodesmith asked this question in Help
Discussion options

You must be logged in to vote

Hi @qodesmith! The documentation you linked to is for Next.js, but your project does not seem to be a Next.js project. The catch all API route behavior is a Next.js feature.

I think it's possible build something to achieve a similar effect with Vite and other frameworks, but it would require some complex customization. I don't know enough about Vite to be able to offer specific advice on that.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@qodesmith
Comment options

@amyegan
Comment options

@qodesmith
Comment options

Answer selected by qodesmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants