loki-theme/magento2-luma-components

Module to allow for Loki Themes to work

Fund package maintenance!
yireo
www.paypal.me/yireo

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Language:HTML

Type:magento2-module

0.0.8 2025-09-16 11:19 UTC

This package is auto-updated.

Last update: 2025-09-16 11:19:18 UTC


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