- Use Local by WPEngine https://wpengine.com/local/
- Create a new site, use default settings
- Browse to the site's folder
- Replace the public folder with this entire repository. Make sure its still named public
- Open the public folder in VSCode, Cursor, or whatever you use
- Browse to the sites url in your browser. make sure it's https://. Login to wordpress by adding /wp-admin to the url
Open the terminal in VSCode with Ctrl + ~
Change to the plugin folder with cd wp-content/plugins/blocks-plugin
then, install the dependencies: npm install --legacy-peer-deps
then start the build process: npm run start
- Make sure you're on the https:// version of the site
- In another tab, go to https://localhost:9090/ and press 'Proceed' under advanced settings
- Back in WordPress, Enable the plugin
- Create or edit a page
- Look under the 'Widgets' category in the block editor
- Confirm that the 'Boilerplate' block is available