Local development
This plugin includes its own .wp-env.json, so you can run WordPress from the plugin directory.
bash
cd plugins/bcew-blocks
pnpm install
pnpm wp-env start
pnpm startNotes:
- Run
pnpm buildat least once if blocks do not appear in the inserter. - Use
pnpm wp-env-stopfrom the monorepo root (ornpx nx wp-env-stopin this directory) to stop the local environment. - Use
pnpm wp-env cleanto reset the local WordPress instance.