rsnext/examples/with-vercel-fetch
Michael McQuade 5032dd926a
Change zeit fetch to vercel fetch (#21913)
This PR does the following:

- Update documentation referencing @zeit/fetch to @vercel/fetch
- Switch packages @zeit/fetch to @vercel/fetch
- ~~Fix `browser.js` to actually use @vercel/fetch, it was only using unfetch directly before~~
- Update React to 17 
- Change folder name and package name
2021-02-18 15:09:52 +00:00
..
fetch Change zeit fetch to vercel fetch (#21913) 2021-02-18 15:09:52 +00:00
pages Change zeit fetch to vercel fetch (#21913) 2021-02-18 15:09:52 +00:00
.gitignore Change zeit fetch to vercel fetch (#21913) 2021-02-18 15:09:52 +00:00
package.json Change zeit fetch to vercel fetch (#21913) 2021-02-18 15:09:52 +00:00
README.md Change zeit fetch to vercel fetch (#21913) 2021-02-18 15:09:52 +00:00

@vercel/fetch example

This example shows how to use @vercel/fetch in a Next.js application.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-vercel-fetch with-vercel-fetch-app
# or
yarn create next-app --example with-vercel-fetch with-vercel-fetch-app