When you install an extension, such as a Hyvä compatibility module, its styles (usually from tailwind-source.css) may not immediately be picked up by Hyvä and Tailwind. To include those styles, run the following command from your Magento 2 root directory:
|
1 |
php bin/magento hyva:config:generate |
This allows the styles to be included in app/etc/hyva-themes.json. Redeploy and rebuild Tailwind with npm, and the styles should now be applied.
|
1 |
npm --prefix app/design/frontend/Theme/hyva/web/tailwind run build-prod |
Extension styles are not applied in 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.