Certain areas of your Magento 2 store can be excluded from the Hyvä theme, such as the checkout.
In excluded areas, Hyvä is not active, so Tailwind CSS and Alpine.js are not loaded. Instead, traditional Magento 2 RequireJS components from the standard Luma theme are used. To control these fallback areas, install the corresponding extension by running the following command from the Magento 2 root directory:
|
1 |
composer require hyva-themes/magento2-theme-fallback |
After installing the extension, open “Hyva Themes” in Magento 2 admin to configure which areas should be excluded. “Theme Fallback”.
Setting up the Luma theme fallback for Hyvä
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.