How to register two blocks in the same plugin
I’m starting to develop Gutenberg blocks. After
npx wordpress user/create-block gutenpride
I have my gutenpride block ready to use. Since the generated plugin contains a structure for only one block I wonder what changes should I make to add another similar block in the same plugin.
So, for the default structure in the gutenpride plugin, what changes should I make to add another block? Thank you.
UPDATE: I’ve discovered that I can find answers on this topic searching for “multi block plugin” (I couldn’t find anything before). This question for example. So, this question could be a possible duplicated. I’m still researching.