Skip to content

s3rgiosan/create-checkout-block-template

Repository files navigation

@s3rgiosan/create-checkout-block-template

Template for @wordpress/create-block to create WooCommerce Checkout blocks.

Usage

This block template can be used by running the following command:

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:

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.