https://github.com/s3rgiosan/create-checkout-block-template
Template for @wordpress/create-block to create WooCommerce Checkout blocks.
https://github.com/s3rgiosan/create-checkout-block-template
block-editor gutenberg woocommerce woocommerce-blocks wordpress wordpress-library
Last synced: over 1 year ago
JSON representation
Template for @wordpress/create-block to create WooCommerce Checkout blocks.
- Host: GitHub
- URL: https://github.com/s3rgiosan/create-checkout-block-template
- Owner: s3rgiosan
- Created: 2024-01-10T23:05:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T16:00:20.000Z (over 2 years ago)
- Last Synced: 2025-03-30T17:51:23.685Z (over 1 year ago)
- Topics: block-editor, gutenberg, woocommerce, woocommerce-blocks, wordpress, wordpress-library
- Language: Mustache
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# @s3rgiosan/create-checkout-block-template
Template for [`@wordpress/create-block`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/create-block/README.md) to create WooCommerce Checkout blocks.
## Usage
This block template can be used by running the following command:
```bash
npx @wordpress/create-block@latest --template @s3rgiosan/create-checkout-block-template
```
### Installing `wp-prettier` (optional)
WooCommerce Blocks uses `wp-prettier` to format the JS files. If you want to use `wp-prettier`, you will need to run the following command:
```bash
nvm use && npm i --D "prettier@npm:wp-prettier@latest"
```
## Changelog
A complete listing of all notable changes to this project are documented in [CHANGELOG.md](https://github.com/s3rgiosan/create-checkout-block-template/blob/main/CHANGELOG.md).