-
Notifications
You must be signed in to change notification settings - Fork 82
Development Setup
mark-c-woodard edited this page Aug 14, 2023
·
4 revisions
Prerequistes:
- A local WordPress development environment. Local by Flywheel is a good option.
- npm installed and ready to run globally.
- composer installed and ready to run globally.
- (optional) phpcs running the WordPress Coding Standards
To start developing for Kadence Blocks:
- Clone this repository into your site's wp-content/plugins directory
- Navigate in to the repository folder
- Run
composer install
- Run
npm install
- Run
npm run start
(js and style files will now be watched / updated on edits) - Make sure the plugin is activated from your site's wp admin dashboard.
Pointers:
- Blocks
- Gutenberg registration, edit and save files are found in
src/blocks
- Frontend files are found in
includes/blocks
-
@kadence
package files can be found insrc/packages
. Caution! These can be in submodules.
- Gutenberg registration, edit and save files are found in
- Misc styles and scripts are found in
src/assets