Create Gutenberg block +In Sage 10 theme + Poet


I would like to create custom block in my theme. There are many information and this very difficult to make the good choice. I know React and i doesn’t want to use ACF, if is possible.

What is the best way to do this ?

First learn the Gutenberg blocks dev doc to learn how to interact with the Gutenberg API. Then instead of using official Wordpress build script you can use bud.js and their wordpress package.

With sage 10, gutenberg support package is included by default ( @roots/bud-preset-wordpress) so you dont need to install it.


Thank you for taking the time to answer me, I already knew this tutorial. But this part of documentation on bud is interesting.
I will continue my research on the best way to integrate blocks into my theme.