f7baa56792
### What?
Updates Deploy button URLs for all listed examples here:
https://github.com/vercel/next.js/tree/canary/examples
### Why?
The Deploy URLs are currently broken and result in a failed clone
attempt on Vercel.
### How?
The URLs have been changed from https://vercel.com/new/git/external?… to
-> https://vercel.com/new/clone?…
(Last updated
[here](
|
||
---|---|---|
.. | ||
pages | ||
.gitignore | ||
next-env.d.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
With cookies-next
In this example, we are getting, setting and removing cookies
This package works on client side and server side
- can be used on the client side, anywhere
- can be used for server side rendering in getServerSideProps
- can be used in API handlers
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-cookies-next with-cookies-next-app
# or
yarn create next-app --example with-cookies-next with-cookies-next-app
Deploy it to the cloud with Vercel (Documentation).