create-guten-block in wordpress theme?

I’m working on a wordpress theme and want to replace my shortcodes with gutenberg blocks. I’m new to working with blocks but having looked into it a bit I’ve decided to try and use create-guten-block as that seemed like a good starting point.

The tutorial on github mentions that you should install the blocks to the plugins directory, whereas ideally I want them to be built in to my theme. Is it possible to do it this way or is it necessary to have them in a plugin?

Read more here:: create-guten-block in wordpress theme?

Leave a Reply

Your email address will not be published. Required fields are marked *