A Yeoman generator to scaffold common Airfleet features.
- Node.js >= 12.
npm install -g yo
npm install -g @airfleet/generator-init
Generator | Command | Description |
---|---|---|
Block | yo @airfleet/init:block --force |
Create a block for the Airfleet Theme |
Component | yo @airfleet/init:component --force |
Create a component for the Airfleet Theme |
npm | yo @airfleet/init:npm |
Generate an npm package for publishing |
Plugin | yo @airfleet/init:plugin |
Create a WP plugin |
Project | yo @airfleet/init:project |
Create a new WP project |
Snippets | yo @airfleet/init:snippets |
Add VS Code snippets to existing project |
View | yo @airfleet/init:view |
Create a view for the Airfleet Views plugin |
© Airfleet