Find My Blocks is a WordPress plugin built to help (as it says in the name) find where you have used specific Gutenberg blocks on your WordPress website.
To install this plugin, Please use the WordPress Plugin Page.
To start developing on Find My Blocks:
git clone git@github.com:eddysims/find-my-blocks.git
cd find-my-blocks
npm ci
To run the docz server:
npm start
To run the WordPress server:
Rename the .env.sample
file to .env
mv .env.sample .env
Add the following 2 variables to your .env
file
OUTDIR
= The path to your find-my-blocks
plugin. DEV_URL
= The url you
server your local WordPress site on.
Start the server
npm run start:wp
To run the linter use
npm run lint
To run tests use
npm run test
The mock data was generated using https://next.json-generator.com/NyFbl7dFd