Skip to content

EmranAhmed/storepress-create-plugin

Repository files navigation

@storepress/create-plugin

This is a template for @wordpress/create-block Scaffolding StorePress Plugin.

Usage

This template can be used by running the following command:

npx -y @wordpress/create-block@latest --namespace=storepress --template @storepress/create-plugin example-extension-name && cd "$_"

Navigate to the newly created folder and get started.

cd example-extension-name
npm i && npm run packages-update     # Install dependencies and update
npm start                            # Start developing
npx @wp-now/wp-now start             # Start Wordpress environment

Development

For development on this tool itself, you can also install from a local directory.

npx -y @wordpress/create-block@latest --template ./create-plugin example-extension-name && cd "$_" 

Add Tests

Please check Base Plugin to add test and others.

This is a template to used with @wordpress/create-block to create a StorePress Plugin starting point.

About

Scaffold StorePress Plugin

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors