A StorePress Plugin
You can test the block in your browser using Playground.
git initnpm inpm run packages-update- Update WordPress packages
npm start
npm run create-dynamic-block [block name]- To add dynamic blocknpm run create-static-block [block name]- To add static block
npm run lint:js- Lint Javascriptnpm run lint:js:report- Lint Javascript and will generatelint-report.html. From terminalopen lint-report.htmlnpm run lint:css- Lint CSSnpm run lint:css:report- Lint CSS and will generatescss-report.txtfile.npm run lint:php- PHP lint and will generatephpcs-report.txtfile.
npm run lint:js:fix- Fix Javascript Lint Issue.npm run lint:css:fix- Fix SCSS Lint Issue.
npm run format:js- Format Javascriptnpm run format:css- Format SCSSnpm run format:php- Format PHPnpm run format- Format./src
npm run plugin-zip- make zip based onpackage.jsonfileslist.npm run package- make directory based onpackage.jsonfileslist.
npm run language- Make POT File- Then follow this link to test
- Check translation guide