WordPress FSE theme by JadroWP.
- Run
pnpm install
to install Node dependencies. - Run
pnpm dlx husky add .husky/pre-commit 'pnpm dlx lint-staged'
to setup Husky. - Run
composer install
to install composer dependencies. - Run
cp .env.example .env
to create.env
file. - Edit
DEV_SERVER_URL
in your.env
file to match the url of your local WP server.
pnpm run dev
- Starts dev server in watch mode.pnpm run ready
- This will fix version, POT, etc and rebuilds assets.pnpm run lint:js
- Run this to check if there are any issues in JavaScripts files.pnpm run lint:css
- Run this to check if there are any issues in SCSS files.pnpm run deploy
- This will prepare the theme for the production/release. Zip file will be insidedeploy
folder.
- Update the version in
package.json
file. - Run
pnpm run ready
. - Push the changes to the repository directly to master or create a PR to master.