Skip to content

Commit

Permalink
docs(scaffold): add link option for local
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdev committed Mar 9, 2019
1 parent 87ba169 commit f8424be
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion SCAFFOLDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@ webpack-cli init <your-scaffold>
#### Running a scaffold locally
When the scaffold package is on you local file system you should pass its path to `init`:

```js
```bash
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
```

#### Running a scaffold from npm

If the package is on npm, its name must begin with `webpack-scaffold` and can be used running:
Expand Down

0 comments on commit f8424be

Please sign in to comment.