Socket
Book a DemoInstallSign in
Socket

@ryanwelcher/dynamic-block-template

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ryanwelcher/dynamic-block-template

A template for use with @wordpress/create-block to support dynamic blocks

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

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

Keywords

wordpress

FAQs

Package last updated on 16 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts