A modern frontend for Magento 2 — Vite, Tailwind CSS 4, Vue islands and Twig, built on the native Layouts, Blocks and Templates you already know.
📚 Documentation · 🚀 Live demo · ⚡ Getting started · 💬 Discussions · 🎮 Discord
Magento's stock frontend still ships LESS, RequireJS and jQuery from 2012. MageObsidian replaces that layer with a modern toolchain — native ESM, Vite dev server with HMR, Tailwind CSS 4 and Vue 3 islands — without throwing away Magento itself: layouts, blocks, templates, theme inheritance and the module system all keep working exactly as you know them.
No headless rewrite. No parallel stack to maintain. Your PHP developers keep their workflow; your frontend developers finally get theirs.
The live demo scores 100/100/100/100 on Lighthouse.
- ⚡ Vite + HMR inside Magento — instant feedback while editing themes and modules.
- 🎨 Tailwind CSS 4 with per-theme extension and full theme-inheritance support.
- 🏝️ Vue 3 islands — interactive components mounted lazily over server-rendered pages.
- 🌿 Optional Twig engine — write
.twigtemplates alongside.phtml. - 🧩 JS interceptors — a JS port of Magento's plugin system (
before/around/after) so modules can customize each other's JavaScript without patching source. - 📦 Luma-parity storefront — compatibility modules for catalog, checkout, customer, wishlist, reviews and more.
| Repository | Role |
|---|---|
| module-modern-frontend | Core Magento 2 module — start here |
| module-modern-frontend-cli | bin/magento CLI commands |
| component-modern-frontend | Vite build harness mapped into the Magento root |
| js-package-utils | The JS build engine (npm: mage-obsidian) |
| module-modern-frontend-twig | Optional Twig template engine |
| module-storefront | Storefront foundation (Vue islands + Twig components) |
| theme-default | OBSIDIAN — the default theme (live demo) |
| docs | Documentation site (EN/ES) |
module-* |
Domain compatibility modules: catalog, checkout, customer, sales, wishlist, reviews… |
composer require mage-obsidian/component-modern-frontend
pnpm --prefix vite install
bin/magento setup:upgrade
bin/magento mage-obsidian:frontend:config --generateFull instructions in the installation guide.
- 💬 GitHub Discussions — questions, ideas, show & tell
- 🎮 Discord — chat with the community
- 🐛 Issues on each repository — bug reports with templates
- 🤝 Contributing guide
- ❤️ Support the project
