Skip to content

Commit

Permalink
adding correct way to test local templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Melissa McEwen committed Sep 24, 2020
1 parent 7f96e02 commit 82b6487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ node /path/to/snowpack/create-snowpack-app/cli [my-new-dir] --template @snowpack

To test a local version of the `create-snowpack-app` templates use

NOTE This does not work, trying to figure this one out

```bash
npx create-snowpack-app [my-new-dir] --template /path/to/template
npx create-snowpack-app [my-new-dir] --template ./path/to/template
```

Note the path must start with must start with a `.` to be considered local

The `--verbose` flag enables additional logs which will help to identify the source of a problem. The `--reload` will clear the local cache which might have been created by a different `snowpack` version. Learn more about [Snowpack's CLI flags](https://www.snowpack.dev/#cli-flags).

## Discussion
Expand Down

0 comments on commit 82b6487

Please sign in to comment.