- Install node version ^15
- Run
nvm use 15 - Run
composer installfrom the theme directory to install dependencies - Run
yarnfrom the theme directory to install dependencies - Update
resources/assets/config.jsonsettings:devUrlshould reflect your local development hostnamepublicPathshould reflect your WordPress folder structure (/wp-content/themes/sagefor non-Bedrock installs)
yarn start— Compile assets when file changes are made, start Browsersync sessionyarn build— Compile and optimize the files in your assets directoryyarn build:production— Compile assets for production