定制 loki-theme/magento2-luma-components 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

loki-theme/magento2-luma-components

最新稳定版本:0.0.21

Composer 安装命令:

composer require loki-theme/magento2-luma-components

包简介

Module to allow for Loki Themes to work

README 文档

README

Module for Magento 2 to remove legacy Luma JavaScript and adds JS components or Alpine.js components where needed

Installation

composer require loki-theme/magento2-luma-components
bin/magento module:enable LokiTheme_LumaComponents

What this is

This module removes legacy Luma JavaScript (RequireJS, Knockout.js, jQuery, jQuery UI) and replaces it with custom JavaScript where needed. The following variations for this rewrite exist - taking in mind that this module tries to make as little template override as possible:

  • No JavaScript, just plain HTML and CSS;
  • Simple JavaScript functions;
  • Alpine.js components (with or without custom template);

Currently, the following components are built-in:

  • Messages
  • Cookie notice
  • Top navigation
  • Mobile navigation
  • Top links (customer welcome)
  • Minicart
  • Newsletter subscribe
  • Add-to-cart (product page)
  • Add-to-cart (category page)
  • Add-to-wishlist (category page)
  • Add-to-compare (category page)
  • Tabs (product page)
  • Currency switcher

Make sure to carefully read the docs at https://loki-extensions.com/docs/theme

统计信息

  • 总下载量: 236
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 2
  • 开发语言: HTML

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2025-09-16