Search by

mage-obsidian / module-modern-frontend-cli

jeanmarcos-dev

Magento 2 module that provides a CLI to manage modern frontend tools.

Package info

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

Homepage

Documentation

Type:magento2-module

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

Fund package maintenance!

Ko Fi

Statistics

Installs: 66

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

2.9.0 2026-09-29 03:12 UTC

This package is auto-updated.

Last update: 2026-09-29 13:30:54 UTC


README

Latest Version CI License

Star MageObsidian

📚 Documentation · 🚀 Live demo · 💬 Discussions

bin/magento console commands for MageObsidian, a modern frontend for Magento 2.

Commands

bin/magento mage-obsidian:frontend:config --generate      # write the PHP↔JS config contract
bin/magento mage-obsidian:frontend:config --show [--modules|--themes]
bin/magento mage-obsidian:frontend:hmr --enable|--disable|--show
bin/magento mage-obsidian:i18n:collect [--locale en_US]   # collect phrases into each component i18n CSV

mage-obsidian:i18n:collect reads .vue/.ts/.js and .twig sources. Twig extraction needs no Twig engine, but it does need the framework release that ships MageObsidian\ModernFrontend\Service\I18n\TwigPhraseExtractor — the first mage-obsidian/module-modern-frontend release after 2.19.0. The command resolves that class through DI, so an older framework makes it fail on construction rather than degrade: raise the composer.json constraint to that release when it is published.

mage-obsidian:frontend:doctor's Adobe Commerce section needs MageObsidian\ModernFrontend\Service\Dev\AdobeCommerceInventory, shipped in mage-obsidian/module-modern-frontend 2.20.0 — the floor composer.json already requires. The command resolves that class through DI, so an older framework makes it fail on construction rather than degrade.

Installation

Installed automatically with the Vite harness:

composer require mage-obsidian/component-modern-frontend

Support the project

If MageObsidian saves you time, consider buying me a coffee. ❤️