1.0.1 • Published 2 years ago

create-fse-theme v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Logo

create-fse-theme

License: MIT ESLint Github Actions

  • Scaffolds a Wordpress FSE theme with a single command
  • Exposes some helper binaries

Installation

Install create-fse-theme with npm

npm install -g create-fse-theme

Or with Yarn, if you prefer that:

yarn global add create-fse-theme

Usage

To scaffold an FSE theme:

create-fse-theme <theme-name>

or

cft <theme-name>

Once the theme has been scaffolded and you CD into the theme, the following commands can be used for different functions:

cft add-block [block-slug]  # add a block
cft remove-block <block-slug>  # remove a block
cft export [zip-name]  # export theme files to a ready-to-use theme zip
cft build  # transpile blocks
cft start  # transpile blocks in dev mode

License

MIT