Skip to content

Commit b5636ea

Browse files
Clarify contribution instructions. Fixes aspnet#934.
1 parent 1d57ca3 commit b5636ea

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,13 @@ The [`samples` directory](https://github.com/aspnet/JavaScriptServices/tree/dev/
8888

8989
## Contributing
9090

91-
If you're interested in contributing to the various packages, samples, and project templates in this repo, that's great! You can run the code in this repo just by:
92-
93-
* Cloning the repo
94-
* Running `dotnet restore` at the repo root dir
95-
* Going to whatever sample or template you want to run (for example, `cd templates/Angular2Spa`)
96-
* Restoring NPM dependencies (run `npm install`)
97-
* Launching it (`dotnet run`)
91+
If you're interested in contributing to the various packages, samples, and project templates in this repo, that's great! You can run the code in this repo as follows:
92+
93+
* Clone the repo
94+
* Run `dotnet restore` at the repo root dir
95+
* Go to whatever sample or template you want to run (for example, `cd templates/Angular2Spa`)
96+
* Restore NPM dependencies (run `npm install`)
97+
* If the sample/template you're trying to run has a file called `webpack.config.vendor.js` at its root, run `webpack --config webpack.config.vendor.js`. It it has a file called `webpack.config.js`, run `webpack` (no args). You might need to install webpack first, by running `npm install -g webpack`.
98+
* Launch it (`dotnet run`)
9899

99100
If you're planning to submit a pull request, and if it's more than a trivial fix (for example, for a typo), it's usually a good idea first to file an issue describing what you're proposing to do and how it will work. Then you can find out if it's likely that such a pull request will be accepted, and how it fits into wider ongoing plans.

0 commit comments

Comments
 (0)