20 lines
443 B
Markdown
20 lines
443 B
Markdown
**TODO** - currently the block name is hardcoded to `svg` and theme is `room-vw`.
|
|
Need to use templating to create a `<block-name>.php` file (based on `svg.php)
|
|
with the correct theme/block names.
|
|
|
|
|
|
## Usage
|
|
|
|
```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.
|