wp-gutenberg-block-template/README.md

27 lines
678 B
Markdown

## TODO
* Add a basic attribute.
* Add some default components to `src/index.js`.
- In particular, most used UI controls (e.g., colour picker?).
- Will want an InspectorControls with a PanelBody
- Also want some BlockControls on there
- Must ensure they are easily able to be quickly removed.
## Usage
Edit `index.php`, `src/index.js` and `src/*.scss` files, so that the correct block name and
namespace are used.
```sh
npm install
# build and watch for development
npm run dev
# build for production
npm run build
```
The symbolic links to the WordPress default configuration files are required so
that code editors will use the correct linting configurations.