Papi
api routes and vercel deployement
Ye I have no idea, honestly the docs for the api routes are really bad, it's hard to know what's possible and isn't. You could maybe test if the simple "hello world" example works. But even that I had a tricky time making it work sometimes. Maybe debugging from the nuxi generate also might help to check if it's a build problem or a vercel problem.
10 replies
api routes and vercel deployement
No i had to totally changed my approched in my case.
All I figured out is that when you pass things that aren’t strings it breaks.
In my case i was trying to read .vue files in the api and apparently it’s not supported (if it is then I didn’t find a solution anywhere.
Also I’d make sure you have your env variables set in Vercel.
If you can be more precise on what you’re trying to do I might be able to help.
10 replies