Skip to content

Commit

Permalink
Add docs about the use-npm flag in create next app
Browse files Browse the repository at this point in the history
  • Loading branch information
imagentleman committed Oct 12, 2020
1 parent 1eeac4f commit ee79c4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api-reference/create-next-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ yarn create next-app

- **-e, --example [name]|[github-url]** - An example to bootstrap the app with. You can use an example name from the [Next.js repo](https://github.com/vercel/next.js/tree/master/examples) or a GitHub URL. The URL can use any branch and/or subdirectory.
- **--example-path [path-to-example]** - In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: `--example-path foo/bar`
- **--use-npm** - Explicitly tell the CLI to bootstrap the app using NPM. By default, the CLI will detect if Yarn is installed and use it if it's available.

### Why use Create Next App?

Expand Down

0 comments on commit ee79c4c

Please sign in to comment.