@ryanwelcher/dynamic-block-template

1.3.0 • Public • Published

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 @ryanwelcher/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
{example-block}.php
package.json
package-lock.json

Package Sidebar

Install

npm i @ryanwelcher/dynamic-block-template

Weekly Downloads

1

Version

1.3.0

License

GPL-2.0-or-later

Unpacked Size

7 kB

Total Files

13

Last publish

Collaborators

  • ryanwelcher