本文档是 WordPress 区块开发的入门指南,旨在帮助新手设置开发环境、构建首个区块并掌握核心概念,同时提供进阶资源以跟上项目更新。
Welcome to the Getting Started documentation. From setting up your development environment and building your first block to understanding the fundamentals, this section is the perfect starting point if you are new to block development or want to improve your skills.
Use the following links to locate a topic within this chapter. If you have never built a block before, consider reading through the documentation in the order listed.
wp-env, create-block, and wp-scriptsOnce you have finished reviewing this chapter, you will have a solid understanding of blocks and how to develop for the Block Editor, but what’s next?
The WordPress project, and Gutenberg in particular, iterates quickly. Staying up-to-date on all the changes can be challenging. So, here are a few essential developer resources you should be aware of. Each person will have their own unique needs in keeping up with a project of this scale, so choose what’s right for you.
#core and #core-editor channels.For more resources on block development and extending the Block Editor, review the additional sections here in the Block Editor Handbook. Further practical examples are also available in the block-development-examples GitHub repository.
If you are looking for more educational content, check out Learn WordPress, where you can find tutorials, courses, and online workshops. Here is a selection of current offerings: