How to generate Routes from Custom Extensions? #2697
enzonotario
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Vite Plugin that transforms my
.esjs
files to JavaScript code. But before this, even if I put JavaScript code in a.esjs
file, Nitro doesn't generate Routes for this:(it generates
/api/hola
but no/api/chau
), as we can also see in the final bundle after run Build:So, is there any way to configure Nitro to also scan custom extensions?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions