Categories
Development

Stylesheets in Gutenberg Blocks

Welcome back, everyone! Today we’re here to figure out how to add stylesheets in Gutenberg blocks. In our earlier Gutenberg custom blocks tutorial, we incorporated styles using a constant variable in our JavaScript. Though this method worked, it makes quickly editing or revisioning styles a real headache. Without any further ado, let’s create our new block and get started adding custom stylesheets.

stylesheets in gutenberg blocks.