Added section about generating assets

Rodrigo Primo 2019-07-26 14:23:02 -03:00
parent 9abe8a8e4a
commit 04acad02d5
1 changed files with 14 additions and 0 deletions

@ -57,6 +57,20 @@ In your terminal:
$ composer install
```
## Generating assets
To generate assets (JS and CSS files) run the following command from the WooCommerce root directory:
```
$ node_modules/.bin/grunt assets
```
To automatically rebuild the assets whenever a JS or SCSS file is modified run:
```
$ node_modules/.bin/grunt watch
```
## IDE integrations
WooCommerce core has linting rules in place via pre-commit hooks to ensure code standards are used. Ensure you have installed NPM and Composer packages, so these are set up!