Deploy Nuxt 3 with static files + server functions #64
Unanswered
codeflorist
asked this question in
Q&A
Replies: 1 comment
-
Hi @codeflorist , thanks for opening the discussion! It's been quite a few years since I have used Netlify, I think I stopped using it before they released serverless functions. And I have 0 experience with Nuxt (or Vue in general). But it seems like we can do some debugging here.
Let me know if this helps in advancing, otherwise we can probably ask help from other maintainers 🙏🏼 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi there!
many thanks for creating this action!
i'm trying to deploy a Nuxt application to Netlify, that has server-side routes as well as prerendered static content. it is built using "nuxt build" and the "netlify "Nitro-preset. this creates all static files inside the
.dist
folder. it also creates a.netlify
folder structured like this:here is my workflow-usage:
i've tried
./.netlify
as well as./.netlify/functions-internal
and./.netlify/functions-internal/server
forfunctions_directory
, but the server-routes are not callable and throw a 404.your script is outputting this in all 3 cases:
do you have any idea how to deploy this Nuxt app with static files AND functions for server-side routes?
Beta Was this translation helpful? Give feedback.
All reactions