Enqueueing Scripts and Styles for Gutenberg Blocks
Before we start building new blocks for the Gutenberg editor we need to know how to properly enqueue scripts and styles. Thankfully WordPress makes this easy with two new hooks.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed