wp-gutenberg-block-template/README.md

444 B

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

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.