@storepress/create-plugin
v0.9.0
Published
A template to be used with `@wordpress/create-block` to create a WordPress Plugin for StorePress.
Maintainers
Readme
@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 environmentDevelopment
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.
