1.0.4 • Published 1 year ago

@robcruiz/dynamic-block-template v1.0.4

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
1 year ago

Dynamic Block Template

This template will scaffold a plugin that is set up for registering dynamic block using the @wordpress/create-block tool.

Usage

Run the following in the terminal of your choice:

npx @wordpress/create-block example-plugin --template @robcruiz/dynamic-block-template

Structure

Once the command has completed, the following structure will be created:

- build
- src
--> {example-block}
---> block.json
---> edit.js
---> editor.scss
---> index.js
---> style.scss
.editorconfig
.eslintrc
.gitignore
class-DynamicBlock.php
{example-block}.php
package.json
package-lock.json