2020-08-12 13:55:40 +00:00
|
|
|
## Usage
|
|
|
|
|
2020-08-13 09:46:00 +00:00
|
|
|
Edit `index.php`, `src/index.js` and `src/*.scss` files, so that the correct block name and
|
2020-08-12 19:21:01 +00:00
|
|
|
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
|
|
|
|
```
|
|
|
|
|
2020-08-12 19:24:07 +00:00
|
|
|
The symbolic links to the WordPress default configuration files are required so
|
|
|
|
that code editors will use the correct linting configurations.
|