name | slug | description | framework | useCase | css | deployUrl | demoUrl | relatedTemplates | |||
---|---|---|---|---|---|---|---|---|---|---|---|
Hello World Edge |
edge-hello-world |
A classic Hello World for the edge. |
None |
Edge Functions |
None |
|
A classic Hello World for the edge.
https://edge-api-route.vercel.app/api/edge
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/vercel/examples/tree/main/edge-functions/hello-world edge-hello-world
# or
yarn create next-app --example https://github.com/vercel/examples/tree/main/edge-functions/hello-world edge-hello-world
Install the Vercel CLI:
npm i -g vercel
Then run the app at the root of the repository:
vercel dev