You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I can see that the example repository uses Nuxt3 ("nuxt": "3.6.5" at the time of writing), the API methods are defined in server/routes. I am not saying that this is incorrect, but according to the Nextjs docs (https://nuxt.com/docs/guide/directory-structure/server#server-directory), it might be more nuxi 😄 if the API lives inside server/api.
What do you all think? Thanks!
Update: The main difference is that when in routes, the route will not have /api prepended.
The text was updated successfully, but these errors were encountered:
I have a general question about the Nuxtjs Prisma repo:
https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nuxtjs
Although I can see that the example repository uses Nuxt3 (
"nuxt": "3.6.5"
at the time of writing), the API methods are defined inserver/routes
. I am not saying that this is incorrect, but according to the Nextjs docs (https://nuxt.com/docs/guide/directory-structure/server#server-directory), it might be morenuxi
😄 if the API lives insideserver/api
.What do you all think? Thanks!
The text was updated successfully, but these errors were encountered: