Skip to content

Manuell Installation

Manual Installation Steps

Prerequisites

  • A local WordPress installation where the theme or plugin will be added.
  • Node.js installed on your local machine.
  • pnpm installed globally.

Installation Instructions

  1. Check out the repository into your local WordPress installation
  • For a theme: place the repository contents in wp-content/themes/your-theme.
  • For a plugin: place the repository contents in wp-content/plugins/your-plugin.
  1. Install Node.js and pnpm (if not already installed)
Terminal window
npm install -g pnpm

  1. Install dependencies Navigate to the project directory and install the dependencies:
Terminal window
pnpm install

  1. Run the development environment This will start a local dev environment and watch for changes:
Terminal window
pnpm run dev

  1. Build for production Once satisfied with your changes:
Terminal window
pnpm run build

  1. Adjusting Purge Settings for Missing Styles If some styles are missing after the build, add the relevant selectors or styles to:
  • purge.php, or
  • Purge ignore settings in the configuration files This ensures those styles won’t be removed in the production build.

You’re all set! You now have a local development environment ready for making changes and producing production-ready builds as needed.