Skip to content

Commit

Permalink
Merge pull request #615 from rishabh3112/patch-3
Browse files Browse the repository at this point in the history
docs(init): update init documentation
  • Loading branch information
evenstensberg committed Sep 29, 2018
2 parents 3844671 + dc4ded9 commit 4cba51d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/init/README.md
Expand Up @@ -27,6 +27,19 @@ init([null, null, ...myPacakges]);
```

### CLI (via `webpack-cli`)
**Via defaults**

```bash
npx webpack-cli init
```
```
**Via custom scaffold**
1. Using package on `npm`

```bash
npx webpack-cli init webpack-scaffold-[name]
```
2. Using path to local directory

```bash
npx webapck-cli init [path]
```

0 comments on commit 4cba51d

Please sign in to comment.