Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 367be0d

Browse files
committed
update README to explain the future of Next.js on Netlify
1 parent f2e5d40 commit 367be0d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ jspm_packages
4343
# Optional REPL history
4444
.node_repl_history
4545
.next
46+
47+
# Github
48+
.github

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@
1515
</a>
1616
</p>
1717

18+
## The Future of Next.js on Netlify
19+
20+
The future of Next.js on Netlify is growing beyond `next-on-netlify`. The recommended path forward is to install [@netlify/plugin-nextjs](https://github.com/netlify/netlify-plugin-nextjs) - a build plugin released and supported by the team behind `next-on-netlify`.
21+
22+
The plugin relies on `next-on-netlify` but offers a smoother experience, including:
23+
24+
1. one-click, zero-config installation
25+
2. allowing custom functions and publish directories
26+
27+
See the [plugin's README](https://github.com/netlify/netlify-plugin-nextjs#readme) for more information. Our team's end goal is to make the Next.js on Netlify experience as seamless as possible.
28+
29+
Note: since `next-on-netlify` will remain the primary source of logic for Next.js on Netlify, the existing `next-on-netlify` setup will continue to work for users who prefer manual insallation and configuration.
30+
31+
The plugin can be found on [npm here](https://www.npmjs.com/package/@netlify/plugin-nextjs).
32+
33+
## About
1834

1935
`next-on-netlify` is a utility for enabling server-side rendering in Next.js on Netlify. It wraps your application in a tiny compatibility layer, so that pages can use Netlify Functions to be server-side rendered.
2036

0 commit comments

Comments
 (0)