Skip to content

docs(misc) correct and enhance npm install snippets #3316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/content/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ First let's create a directory, initialize npm, [install webpack locally](/guide
mkdir webpack-demo
cd webpack-demo
npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
npm install webpack webpack-cli --save-dev
```

T> Throughout the Guides we will use `diff` blocks to show you what changes we're making to directories, files, and code.
Expand Down
2 changes: 2 additions & 0 deletions src/content/guides/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ To install the latest release or a specific version, run one of the following co

``` bash
npm install --save-dev webpack
# or specific version
npm install --save-dev webpack@<version>
```

Expand Down Expand Up @@ -64,6 +65,7 @@ If you are enthusiastic about using the latest that webpack has to offer, you ca

``` bash
npm install webpack@beta
# or specific tag/branch
npm install webpack/webpack#<tagname/branchname>
```

Expand Down