{"repo":"them-es/wordpress-blocks-boilerplate","free":true,"listed":false,"github":"https://github.com/them-es/wordpress-blocks-boilerplate","clone":"git clone https://github.com/them-es/wordpress-blocks-boilerplate.git","description":"Custom Blocks boilerplate for WordPress Themes or Plugins.","language":"JavaScript","stars":31,"topics":["wordpress","gutenberg","gutenberg-blocks","gutenberg-boilerplate","wordpress-blocks"],"license":"GPL-2.0","category":"saas-starters-boilerplates","readme_excerpt":"[!NOTE] The main branch is only compatible with WordPress v6.6+. them.es WordPress Blocks them.es WordPress Blocks is a WordPress \"Gutenberg\" blocks boilerplate which can be included in a theme (or plugin). What's included? - Gutenberg blocks configuration tested in WordPress v6.6+ - All legacy boilerplates have been archived in the following branches: WordPress <6.6 (\"v2\" branch) and WordPress <5.8 (\"v1\" branch) - NPM configuration - ESNext - Support for a category where all custom blocks can be organized - A simple \"Hello world\" block implementation is included - Optional: Easily add more blocks Setup - Prerequisites: Node.js (NPM) needs to be installed on your system - Download the source code of this repository to a new directory (e.g. /blocks ) - Add the following code snippet to functions.php in your theme (or reference it in your plugin index file) - Open the blocks directory in Terminal and install the required Node.js dependencies: - $ npm install - A simple Hello world block implementation is included to get you started. More examples can be found in the official Gutenberg examples repository - You can include additional blocks by duplicating /src/##### - Run the start script: - $ npm run start - Develop the block(s) by modifying /src/#####/index.js - the official Gutenberg Handbook may help you learn how to build a custom block - When you're done run the build script to create a minified version of your blocks: - $ npm run build - Test the block(s) in the WordPress","default_branch":null,"files":null,"tree":[],"storefront":"/r/them-es","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/them-es/wordpress-blocks-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}