abeta-io / magento2-hyva
Hyvä Themes Compatibility module for Abeta extension
Package info
github.com/abeta-io/magento2-hyva-compat
Language:HTML
Type:magento2-module
pkg:composer/abeta-io/magento2-hyva
dev-main
2024-10-02 11:41 UTC
Requires
- abeta-io/magento2: *
- hyva-themes/magento2-compat-module-fallback: *
- magento/framework: *
This package is auto-updated.
Last update: 2026-03-01 00:58:40 UTC
README
This repository contains the module that enables Abeta support for Hyvä. This module has a dependency on the Abeta Magento 2 module.
Installation
- Install the module using composer:
composer composer require abeta-io/magento2-hyva
- Enable the module:
bin/magento module:enable Abeta_HyvaPunchOut
- Upgrade the database:
bin/magento setup:upgrade
- Let Hyvä know about the new module:
php bin/magento hyva:config:generate
- Generate the CSS files:
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run ci npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod
Or from your theme:
npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run ci npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run build-prod
Missing styles?
Make sure that PostCSS uses the postcssImportHyvaModules plugin in your theme:
- Go to your theme folder:
app/design/frontend/<Vendor>/<Theme>/web/tailwind - Install the module:
npm install --save-dev @hyva-themes/hyva-modules
- Open your
postcss.config.jsand add this as the first line:
const { postcssImportHyvaModules } = require("@hyva-themes/hyva-modules");
- Make sure the plugin is includes in the plugins list:
module.exports = { plugins: [ postcssImportHyvaModules, // ... ], };