mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Add beta installation instruction
This commit is contained in:
parent
c2d98e2b79
commit
418cc210fa
14
readme.md
14
readme.md
|
@ -56,8 +56,20 @@ Next.js is a minimalistic framework for server-rendered React applications.
|
||||||
|
|
||||||
Install it:
|
Install it:
|
||||||
|
|
||||||
|
#### Beta
|
||||||
|
|
||||||
|
The beta has support for the latest version of React (v16) and is actively being developed upon.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install next react react-dom --save
|
npm install next@beta react react-dom
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Stable
|
||||||
|
|
||||||
|
This is the stable version of Next.js
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install next react@15 react-dom@15 --save
|
||||||
```
|
```
|
||||||
|
|
||||||
and add a script to your package.json like this:
|
and add a script to your package.json like this:
|
||||||
|
|
Loading…
Reference in a new issue