mage-obsidian/module-modern-frontend

Modern frontend core for Magento 2 โ€” replaces Luma/LESS/RequireJS with Vite, Tailwind CSS 4, Vue and native ESM while keeping Magento layouts, blocks and templates.

Maintainers

Package info

github.com/mage-obsidian/module-modern-frontend

Homepage

Documentation

Type:magento2-module

pkg:composer/mage-obsidian/module-modern-frontend

Transparency log

Fund package maintenance!

Ko Fi

Statistics

Installs: 53

Dependents: 19

Suggesters: 0

Stars: 3

Open Issues: 0

2.9.0 2026-07-17 17:37 UTC

README

MageObsidian storefront โ€” a modern frontend for Magento

MageObsidian โ€” Modern Frontend for Magento 2

Latest Version CI License

๐Ÿ“š Documentation ยท ๐Ÿš€ Live demo (Lighthouse 100) ยท ๐Ÿ’ฌ Discussions

MageObsidian replaces Magento 2's legacy frontend stack (LESS, RequireJS, jQuery) with Vite, Tailwind CSS 4, Vue 3 islands and native ESM โ€” while keeping Magento's Layouts, Blocks, Templates, theme inheritance and module system working exactly as you know them. No headless rewrite, no parallel stack.

This is the core module: it detects compatible modules/themes, generates the config contract consumed by the JS build engine, integrates with setup:static-content:deploy, and provides the ViewModels templates use to reach Vite output (including renderVueComponent() for Vue islands and JSON-LD emission).

Installation

composer require mage-obsidian/component-modern-frontend   # pulls in this module
pnpm --prefix vite install
bin/magento setup:upgrade
bin/magento mage-obsidian:frontend:config --generate

Full guide: Getting started.

Highlights

  • โšก Vite dev server with HMR inside Magento
  • ๐ŸŽจ Tailwind CSS 4 with per-theme extension and inheritance
  • ๐Ÿ๏ธ Vue 3 islands mounted lazily over server-rendered pages
  • ๐Ÿงฉ JS interceptors โ€” Magento-style before/around/after plugins for JavaScript
  • ๐ŸŒฟ Optional Twig engine

The MageObsidian stack

Package Role
module-modern-frontend (this repo) Core module: compatibility detection, config contract, deploy integration, ViewModels
component-modern-frontend Vite build harness mapped into the Magento root
js-package-utils JS build engine (npm: mage-obsidian)
module-modern-frontend-cli bin/magento CLI commands
module-storefront + module-* Luma-parity storefront and domain compatibility modules

Support the project

If MageObsidian saves you time, consider buying me a coffee. โค๏ธ