Skip to content

Build & Setup (Developer Workflow)

This theme uses a modern development stack (Composer + Node). These steps are for developers only and is only available for users that have purchased the agency version of the theme and plugin.

Requirements

  • PHP 8.2+
  • Composer 2
  • Node.js 20+
  • npm 9+
  • A local WordPress environment (LocalWP, Laragon, DDEV, etc.)

Install the theme

wp-content/themes/bbi-turbo

Open a terminal in the theme folder and Install dependencies

composer install
npm install

Local development

npm run dev

This starts Vite in watch mode for live CSS/JS updates.

Production build

npm run build
composer install --no-dev --optimize-autoloader

Deployment

When deploying to a live server, include:

  • app/
  • resources/
  • public/
  • vendor/
  • composer.json + composer.lock
  • theme PHP files
  • style.css, functions.php, theme.json

Exclude:

  • node_modules/
  • .git/
  • .env
  • .vite/