An open API service indexing awesome lists of open source software.

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.

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).