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.
Package info
github.com/mage-obsidian/module-modern-frontend
Type:magento2-module
pkg:composer/mage-obsidian/module-modern-frontend
Fund package maintenance!
Requires
- php: >=8.3
- justinrainbow/json-schema: ^5.2 || ^6.0
- magento/framework: >=103.0.7
- magento/module-backend: >=102.0.6
- magento/module-catalog: >=104.0.6
- magento/module-cms: >=104.0.6
- magento/module-config: >=101.2.6
- magento/module-deploy: >=100.4.6
- magento/module-directory: >=100.4.6
- magento/module-store: >=101.1.6
- magento/module-theme: >=101.1.6
- magento/module-translation: >=100.4.6
- magento/module-widget: >=101.2.6
- symfony/process: ^6.4 || ^7.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
Replaces
None
- dev-master
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.1
- 2.17.0
- 2.16.0
- 2.15.2
- 2.15.1
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.1
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.9.0
- 2.8.1
- 2.8.0
- 2.7.1
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.0.6-alpha
- 1.0.5-alpha
- 1.0.4-alpha
- 1.0.3-alpha
- 1.0.2-alpha
- 1.0.1-alpha
- 1.0.0-alpha
This package is auto-updated.
Last update: 2026-09-29 13:52:31 UTC
README
MageObsidian โ Modern Frontend for Magento 2
๐ 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/afterplugins 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. โค๏ธ
