Setting Up Your Sub-Theme
Prerequisites
Step 1: Understand the sub-theme directory structure
Step 2: Understand the build system
npm run build # Full build (assets + Storybook static site)
npm run dist # Compile assets only (faster, no Storybook)
npm run dist:watch # Watch mode (recompiles on file changes)
npm run lint # Lint SCSS and JavaScriptStep 3: Run Storybook
Step 4: Verify the development workflow
Troubleshooting
Next step
Last updated
Was this helpful?