create-guten-block
create-guten-block copied to clipboard
📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
First off, **super props** for jumping on the need that CGB solved back in the day @ahmadawais. There didn't exist an easy way to spin up Gutenberg blocks and CGB...
I ran the command `npx create-guten-block arion-related-posts` as suggested, in wp-content/plugins, The installation took a minute, and after that, the `arion-related-posts` folder had 2 files. package.json ``` { "name": "arion-related-posts-cgb-guten-block",...
## Bug Report ### Expected Behaviour cd into wp-content/plugins then run `npx create-guten-block my-project` It should install everything normally. ### Actual Behaviour During the installation I get the following error:...
Can a developer on this project please explain what is going on here with this function name format on your init.php file, which throws an error in VSCode.... Line 30:...
## Bug Report ### Expected Behavior I've created a fairly simple block that imports some features from the @wordpress package (example below). ![image](https://user-images.githubusercontent.com/43336371/144711598-f77df62d-2e88-4c61-8243-42b7f5b95204.png) However when I try to compile it...
Starting in WordPress 5.8 release, the use of block.json was encouraged. Create-guten-block does not have support for block.json which will cause custom block styles to not load. This can be...
I was just wondering why there is no script.js file for frontend+backend The current block assets are: ``` * 1. blocks.style.build.css - Frontend + Backend. * 2. blocks.build.js - Backend....
Why we need blocks-frontend.js file and what problem it will solve? To run scripts on front-end with src/blocks.js you can only run scripts in the admin area. For example, I...
When generating the compiled css files, ( ie both `blocks.editor.build.css` and `blocks.style.build.css` )... the compiler seems to include the `common.scss` file, once for every single block that is added. this...
I've tried a few different approaches, but the initial startup is failing. So many (82) issues and hasn't been updated in months. What is this garbage? ``` sudo npx create-guten-block...