Skip to content

Commit

Permalink
docs(scaffolding): add yarn example
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdev committed Mar 9, 2019
1 parent f8424be commit d47eea0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions SCAFFOLDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,20 @@ webpack-cli init path/to/your/scaffold

Or you can create a global module and symlink to the local one:

```bash
cd path/to/my-scaffold
npm link
webpack-cli init my-scaffold
```
* Using npm

```bash
cd path/to/my-scaffold
npm link
webpack-cli init my-scaffold
```

* Using yarn

```bash
cd path/to/my-scaffold
yarn link
webpack-cli init my-scaffold

#### Running a scaffold from npm

Expand Down

0 comments on commit d47eea0

Please sign in to comment.