fix deploy button + create-next-app command (#20777)
This commit is contained in:
parent
266a4d33b1
commit
6fd877ff34
1 changed files with 3 additions and 3 deletions
|
@ -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 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
|
||||
|
||||
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
|
||||
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
|
||||
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)).
|
||||
|
|
Loading…
Reference in a new issue