abeta-io/magento2-hyva
Composer 安装命令:
composer require abeta-io/magento2-hyva
包简介
Hyvä Themes Compatibility module for Abeta extension
README 文档
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, // ... ], };
统计信息
- 总下载量: 1.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-10-02