create-fse-theme

![Logo](https://xylocone.files.wordpress.com/2022/08/create-fse-theme.png)


Keywords
scaffolding, utility, scaffold-generator, wordpress, full-site-editing, gutenberg, block theme
License
MIT
Install
npm install create-fse-theme@1.0.1

Documentation

Logo

create-fse-theme

License: MIT ESLint Github Actions

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

terminalizer demo

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