create-fse-theme

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i create-fse-theme

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

80.1 kB

Total Files

49

Last publish

Collaborators

  • xyloconex