Last active
June 6, 2018 06:16
-
-
Save edwinpgm/2bcceec78051883dad90902e0a7fbb6c to your computer and use it in GitHub Desktop.
Next JS commands steps for init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# commands | |
npm init -y | |
npm i --save react react-dom next | |
mkdir pages | |
# in package.json | |
{ | |
"scripts": { | |
"dev": "next" | |
} | |
} | |
# run | |
npm run dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment