Scaffolding a new block
Channel: WordPress
Date: 2024-04-04

Once you have the necessary tools installed for block development, you can start developing your first block.

In this lesson, you will learn about a tool called create-block, which will allow you to quickly scaffold your first block plugin. You will learn why you should use create-block, how to use it, and review the code that it generates.
---
View this lesson and others in this course on Learn WordPress:
https://learn.wordpress.org/course/beginner-wordpress-developer/

0:00 Introduction
0:23 What is create-block?
1:08 Why a plugin?
1:44 What are we building?
2:25 Using Create Block
4:14 The scaffolded plugin
7:51 The `src` directory
9:57 The `build` directory
11:09 Additional Resources