Vercel Functions
See original GitHub issueLove the package! Made deployment so easy.
I’m trying to get a function going in Vercel. Is it possible to just add the api
folder, or is there something else I need to do?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Serverless Functions – Vercel Docs
Vercel Serverless Functions enable running code on-demand without needing to manage your own infrastructure, provision servers, or upgrade hardware.
Read more >Serverless Function Runtimes – Vercel Docs
The Node.js Runtime takes an entrypoint of a Node.js function, builds its ...
Read more >Supported Languages for Serverless Functions – Vercel Docs
Learn how to deploy Serverless Functions with Vercel in JavaScript, Go, ...
Read more >Edge Functions – Vercel Docs
Vercel's Edge Functions enable you to deliver dynamic, personalized content with the lightweight Edge Runtime. Our Edge Runtime is more performant and ...
Read more >Edge Functions - Vercel
Vercel Edge Middleware and Edge Functions give you the power of dynamic at the speed of static.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe this is a specific restriction of Vercel which they are in the process of / have fixed.
I haven’t had time to try their new stuff yet but once I do I’ll report back here and let you know if this is possible.
@xpnewmedia I ended up just writing my functions within sapper, using server routes They do basically the same thing. They run some code on the back end, except instead of having vercel manage the function it’s one vercel function and multiple sapper functions.