wp-gutenberg-block-template/README.md

20 lines
444 B
Markdown
Raw Normal View History

2020-08-12 13:55:40 +00:00
**TODO** - currently the block name is hardcoded to `svg` and theme is `room-vw`.
2020-08-12 13:56:50 +00:00
Need to use templating to create a `<block-name>.php` file (based on `svg.php)`
2020-08-12 13:55:40 +00:00
with the correct theme/block names.
2020-08-12 13:20:11 +00:00
2020-08-12 13:55:40 +00:00
## 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.