Skip to content

sk-rt/wp-env-scaffold

Repository files navigation

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

About

Boilerplate for WordPress website development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published