5032dd926a
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 |
||
---|---|---|
.. | ||
fetch | ||
pages | ||
.gitignore | ||
package.json | ||
README.md |
@vercel/fetch example
This example shows how to use @vercel/fetch
in a Next.js application.
Deploy your own
Deploy the example using 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