Category: Personal
-
How to Use The @wordpress/scripts Build Tool with Custom WordPress Blocks
This post was commissioned and first published on javascriptforwp.com In our last article about how to build a basic block using registerBlockType with no webpack or JSX we covered how to setup a custom block without having to use a build system, jsx and modern javascript that needs to be converted in order to run in browsers…
-
Gutenberg Block Tutorial with registerBlockType() and NO Webpack, ES6, JSX or Babel
Since the new Gutenberg block editor has been merged into core with the release of WordPress 5.0, the demand for creating your own blocks has increased greatly. In this short guide we’ll be getting you up and running creating your first block. Although build tools like webpack are commonly being used, in this tutorial we…