2020-08-12 13:55:40 +00:00
|
|
|
## Usage
|
|
|
|
|
2020-08-12 19:21:01 +00:00
|
|
|
Edit `index.php` and `.scss` files, so that the correct block name and
|
|
|
|
namespace are used.
|
|
|
|
|
2020-08-12 13:55:40 +00:00
|
|
|
```sh
|
|
|
|
npm install
|
|
|
|
|
|
|
|
# build and watch for development
|
|
|
|
npm run dev
|
|
|
|
|
|
|
|
# build for production
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
The links to the WordPress default config files are required so that code
|
|
|
|
editors pick up the correct linting configurations.
|