Unverified Commit 6fd877ff authored by Tom's avatar Tom Committed by GitHub

fix deploy button + create-next-app command (#20777)

parent 266a4d33
...@@ -9,16 +9,16 @@ Note: There are still valid cases for using a nonce in case you need to inline s ...@@ -9,16 +9,16 @@ Note: There are still valid cases for using a nonce in case you need to inline s
Deploy the example using [Vercel](https://vercel.com): Deploy the example using [Vercel](https://vercel.com):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-strict-csp-hash) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-strict-csp)
## How to use ## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash ```bash
npx create-next-app --example with-strict-csp-hash with-strict-csp-hash-app npx create-next-app --example with-strict-csp with-strict-csp-app
# or # or
yarn create next-app --example with-strict-csp-hash with-strict-csp-hash-app yarn create next-app --example with-strict-csp with-strict-csp-app
``` ```
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment