WP Advanced Block Theme
GitHub
  • Overview
  • Introduction
    • Requirements
    • Compatible theme
  • Technical guides
    • Theme specification file
    • Environment variables
    • Hooks
    • WP-CLI
  • Get started
    • Installation
    • Gutenberg blocks generation
Powered by GitBook
On this page
  1. Technical guides

WP-CLI

Use WP-CLI command to generate blocks:

wp wpe-blocks generate_component_blocks

This will generate blocks/custom/ directory with all components. You can add an override.json file in order to add or replace some component attributes/configurations.

Last updated 2 years ago