| Install | |
|---|---|
composer require prestashop/hummingbird |
|
| Latest Version: | v2.0.0 |
Hummingbird is a modern, in-development theme for PrestaShop built to be compatible with versions 9.1.x and above.
| Homepage | Category | Product |
To work on Hummingbird, you'll need:
From the project root run the following commands if you want to:
npm ci.npm run watch.npm ci.webpack/ directory.cp .env-docker-example .env or cp .env-vhost-example .env (depending on how you want to run your PrestaShop environment)..env with your local environment settings and ensure you use a free TCP port.npm run dev.To ensure code quality and consistency, run the following commands from the project root:
npm run stylelint or npm run stylelint:fix.npm run prettier or npm run prettier:fix.npm run lint or npm run lint:fix.This theme includes Docker configurations for both PrestaShop and PrestaShop Flashlight development environments.
Note: If you've already set up your development environment using Watch Mode or Hot Module Reload (HMR), you can skip ahead to step 3.
npm ci.npm run build.docker/ directory: cd docker.cp .env-example .env..env to configure the following variables:
PS_TAG: PrestaShop or Flashlight version tag.
PLATFORM: Platform architecture (e.g., linux/amd64, linux/arm64).ADMIN_EMAIL: Back office admin email.ADMIN_PASSWORD: Back office admin password.docker-compose-prestashop.yml: for standard PrestaShop development environment.docker-compose-flashlight.yml: for PrestaShop Flashlight development environment.From the project root, run one of the following commands:
# For PrestaShop environment
docker compose -f docker/docker-compose-prestashop.yml up -d
# For Flashlight environment
docker compose -f docker/docker-compose-flashlight.yml up -d
From the project root, run one of the following commands:
# For PrestaShop environment
docker compose -f docker/docker-compose-prestashop.yml down -v
# For Flashlight environment
docker compose -f docker/docker-compose-flashlight.yml down
[!WARNING]
If you're experiencing issues with styles or assets not updating while using HMR mode, follow these steps to avoid browser and PrestaShop caching problems:
Network tab.Disable cache (⚠️ this only works while DevTools stays open).Advanced Parameters → Performance.Yes.No.Storybook is used to document and preview the theme's UI components during development. You can view the live documentation here. Since the theme is still in progress, contributions to improve or expand the documentation are welcome and encouraged.
To run Storybook on your machine:
npm ci.npm run storybook.Please refer to the contributing guide.
The CI runs include Stylelint, Prettier, ESLint, and TypeScript type checks.
Whenever the develop branch is merged into master, the Storybook documentation is automatically deployed to GitHub Pages and becomes publicly accessible within minutes.
This theme is released under the Academic Free License 3.0.