abeta-io / magento2-hyva
Hyvä Themes Compatibility module for Abeta extension
Installs: 156
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:magento2-module
Requires
- abeta-io/magento2: *
- hyva-themes/magento2-compat-module-fallback: *
- magento/framework: *
This package is auto-updated.
Last update: 2025-03-30 12:38:55 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.js
and 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, // ... ], };