未验证 提交 b442acbe 编写于 作者: L Luc Leray 提交者: GitHub

Replace `zeit/next.js` with `vercel/next.js` (#20849)

上级 bb05e426
...@@ -29,4 +29,4 @@ export default MyApp ...@@ -29,4 +29,4 @@ export default MyApp
### Useful Links ### Useful Links
- [Issue #13230](https://github.com/zeit/next.js/issues/13230), which led to the creation of this warning. - [Issue #13230](https://github.com/vercel/next.js/issues/13230), which led to the creation of this warning.
...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-15-set-up- ...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-15-set-up-
## How to use ## How to use
Execute [`create-next-app`](https://github.com/zeit/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 cms-agilitycms cms-agilitycms-app npx create-next-app --example cms-agilitycms cms-agilitycms-app
...@@ -286,7 +286,7 @@ yarn install ...@@ -286,7 +286,7 @@ yarn install
yarn dev yarn dev
``` ```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
### Step 17. Deploy on Vercel ### Step 17. Deploy on Vercel
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e ...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e
## How to use ## How to use
Execute [`create-next-app`](https://github.com/zeit/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 cms-graphcms cms-graphcms-app npx create-next-app --example cms-graphcms cms-graphcms-app
...@@ -80,7 +80,7 @@ yarn install ...@@ -80,7 +80,7 @@ yarn install
yarn dev yarn dev
``` ```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
### Step 5. Try preview mode ### Step 5. Try preview mode
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -30,7 +30,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e ...@@ -30,7 +30,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e
## How to use ## How to use
Execute [`create-next-app`](https://github.com/zeit/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 cms-wordpress cms-wordpress-app npx create-next-app --example cms-wordpress cms-wordpress-app
...@@ -115,7 +115,7 @@ yarn install ...@@ -115,7 +115,7 @@ yarn install
yarn dev yarn dev
``` ```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
### Step 5. Add authentication for Preview Mode (Optional) ### Step 5. Add authentication for Preview Mode (Optional)
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -60,7 +60,7 @@ npm run dev ...@@ -60,7 +60,7 @@ npm run dev
yarn dev yarn dev
``` ```
Your app should now be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your app should now be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
You should now see a list of Todos that were fetched from the database via the API Route defined in `/pages/api/todos.js`. You should now see a list of Todos that were fetched from the database via the API Route defined in `/pages/api/todos.js`.
......
...@@ -54,7 +54,7 @@ yarn install ...@@ -54,7 +54,7 @@ yarn install
yarn dev yarn dev
``` ```
Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
You will either see a message stating "You are connected to MongoDB" or "You are NOT connected to MongoDB". Ensure that you have provided the correct `MONGODB_URI` and `MONGODB_DB` environment variables. You will either see a message stating "You are connected to MongoDB" or "You are NOT connected to MongoDB". Ensure that you have provided the correct `MONGODB_URI` and `MONGODB_DB` environment variables.
......
...@@ -63,7 +63,7 @@ yarn install ...@@ -63,7 +63,7 @@ yarn install
yarn dev yarn dev
``` ```
Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
## Deploy on Vercel ## Deploy on Vercel
......
...@@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com): ...@@ -12,7 +12,7 @@ Deploy the example using [Vercel](https://vercel.com):
## How to use ## How to use
Execute [`create-next-app`](https://github.com/zeit/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-recoil with-recoil-app npx create-next-app --example with-recoil with-recoil-app
......
...@@ -49,7 +49,7 @@ yarn install ...@@ -49,7 +49,7 @@ yarn install
yarn dev yarn dev
``` ```
Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
### Step 3. Automatic sourcemap upload (optional) ### Step 3. Automatic sourcemap upload (optional)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册