Skip to Content

How to switch to composer base theme

Clone the repository

terminal
git clone [email protected]:agentimage-clients/sitename.git

Create Branch

🚫
Important

Follow Naming Guidelines.

terminal
git checkout -b 'Branch_Name'

Require the new theme

bash
composer require "aios-packages/Your_theme_Name":"VERSION"

Download Child theme

Edit vite.config.js

  • Go to web/vite.config.js and edit the following on line 12

Example:

vite.config.js
const themeName = 'agentpro-equinox-child';

Once you are done editing the files, add or stage your changes.

terminal
git add .

Commit the changes you’ve made.

terminal
git commit -m '<commit_message>'

Push your changes.

terminal
git push origin 'Branch_Name'

Create Merge Request.

https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on