This is the simple development environment for custom block.
https://developer.wordpress.org/block-editor/tutorials/javascript/js-build-setup/
-
Begin by
npm install
-
Build a block.
npm run build
-
Run a watcher.
npm start
This is the simple development environment for custom block.
https://developer.wordpress.org/block-editor/tutorials/javascript/js-build-setup/
Begin by npm install
Build a block. npm run build
Run a watcher. npm start