Scaffolds a simple Next.js project structure to get started quickly
$ npm install -g next-new
Run nn my-new-blog
and get the following project structure
/my-new-blog
|-- next.config.js
|-- now.json
|-- package.json
|-- pages
| `-- index.js
nn help
▲ nn help
Usage: nn [options] [command] <projectName>
Commands:
help Display help
Options:
-d, --debug Debugging (disabled by default)
-f, --force Force init (disabled by default)
-h, --help Output usage information
-t, --init Initialize a Next Project in the current folder (disabled by default)
-i, --install Install all dependencies (disabled by default)
-s, --silent ssshhhhhhh! (disabled by default)
-v, --version Output the version number