| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This example demonstrates how to create a modern WordPress block using ESNext (modern JavaScript) and JSX syntax. It showcases the fundamental setup required for block development with a build process powered by @wordpress/scripts, which handles all the necessary tooling configuration.
Key concepts covered:
| Example | Description | Tags | Download .zip | Live Demo |
|---|---|---|---|---|
| Basic ESNext | Demonstrates how to create a basic block using modern JavaScript (ESNext) and JSX syntax with a build process powered by @wordpress/scripts. | minimal | 📦 |
Development Mode
Production Build
Block Registration
Rendering
src/ ├── edit.js # Block editor component ├── save.js # Saved content component ├── style.scss # Frontend & editor styles ├── editor.scss # Editor-only styles ├── block.json # Block metadata └── index.js # Block registration
Note Check the Start Guide for local development with the examples
| Back | FazBrowse Home | New Git URL |