Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 817 Bytes

README.md

File metadata and controls

54 lines (34 loc) · 817 Bytes

Boilerplate for WordPress website development

wp-env + frontend webpack(TypeScript/scss)

Configuration

Edit .wp-env.json
Doc @wordpress/env#wp-env-json

Usage

Starting WordPress container

yarn && yarn wp-env:start

Setup WordPress

  • Install languege
  • Activete theme & plugins
  • Update wp_options

Edit wp-setup.config.js

yarn wp-env:setup

Stating frontend development server (Webpack)

yarn dev

Production build

frontend build & dist theme

yarn build

WP-CLI

yarn wp:cli {command}
# example
yarn wp:cli --info
yarn wp:cli user list