Skip to content

Commit 3db5361

Browse files
timothyistimneutkens
authored andcommitted
Update readme with ZEIT Now deployment guide link (vercel#6341)
* Update readme with ZEIT Now deployment guide link * Update links to ZEIT Now deployment guide * Fix missing word
1 parent ee18967 commit 3db5361

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

packages/next/README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,23 +1761,7 @@ next build
17611761
next start
17621762
```
17631763
1764-
For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like follows is recommended:
1765-
1766-
```json
1767-
{
1768-
"name": "my-app",
1769-
"dependencies": {
1770-
"next": "latest"
1771-
},
1772-
"scripts": {
1773-
"dev": "next",
1774-
"build": "next build",
1775-
"start": "next start"
1776-
}
1777-
}
1778-
```
1779-
1780-
Then run `now` and enjoy!
1764+
To deploy Next.js with [ZEIT Now](https://zeit.co/now) see the [ZEIT Guide for Deploying Next.js with Now](https://zeit.co/guides/deploying-nextjs-with-now/).
17811765
17821766
Next.js can be deployed to other hosting solutions too. Please have a look at the ['Deployment'](https://github.com/zeit/next.js/wiki/Deployment) section of the wiki.
17831767
@@ -1824,6 +1808,8 @@ export function render(req: http.IncomingMessage, res: http.ServerResponse) => v
18241808
- [http.ServerResponse](https://nodejs.org/api/http.html#http_class_http_serverresponse)
18251809
- `void` refers to the function not having a return value and is equivalent to JavaScript's `undefined`. Calling the function will finish the request.
18261810

1811+
Using the serverless target, you can deploy Next.js to [ZEIT Now](https://zeit.co/now) with all of the benefits and added ease of control like for example; [custom routes](https://zeit.co/guides/custom-next-js-server-to-routes/) and caching headers. See the [ZEIT Guide for Deploying Next.js with Now](https://zeit.co/guides/deploying-nextjs-with-now/) for more information.
1812+
18271813
#### One Level Lower
18281814

18291815
Next.js provides low-level APIs for serverless deployments as hosting platforms have different function signatures. In general you will want to wrap the output of a Next.js serverless build with a compatability layer.

0 commit comments

Comments
 (0)