wp-env + frontend webpack(TypeScript/scss)
Edit .wp-env.json
Doc @wordpress/env#wp-env-json
yarn && yarn wp-env:start
- Install languege
- Activete theme & plugins
- Update wp_options
Edit wp-setup.config.js
yarn wp-env:setup
yarn dev
frontend build & dist theme
yarn build
yarn wp:cli {command}
# example
yarn wp:cli --info
yarn wp:cli user list