disrex/magewire-backend
最新稳定版本:0.1.0
Composer 安装命令:
composer require disrex/magewire-backend
包简介
Support Magewire in the Magento backend
README 文档
README
Add Magewire functionality to the Magento Admin Panel. Built on top of the Magewire core with RequireJS support.
⚠️ This project is in testing phase. Use at your own risk. Want to contribute? You're welcome!
✅ Installation
Use the command below to automatically install everything (including patch for Magewire core):
composer require disrex/magewire-backend
Note: this module automatically adds the required patch to
magewirephp/magewire, including the required dependencycomposer-patches.
Then, enable the modules:
bin/magento module:enable Magewirephp_Magewire Magewirephp_MagewireRequireJs Disrex_MagewireBackend
Magewire in the backend will only load when a component uses it. You can recognize this by loaded
JavaScript files with the name magewire.
🔧 Auto-Patcher Included
This module includes the needed patches for Magewire to work in the backend, equipped with an auto-patcher module (disrex/magewire-backend-patcher: ^1.0) so you have no worries about which files to patch and where.
When you run composer install or composer update, you'll see these success messages:
This means the patches have been successfully applied and Magewire is ready for backend use! See the auto-patcher repository for more technical details.
🧪 Example Component
Want to test if everything works? Use an example module like this Hello World component:
composer config repositories.yireo-training vcs git@github.com:yireo-training/YireoTraining_MageWireBackendHelloWorld.git composer require yireo-training/magento2-magewire-backend-hello-world:@dev bin/magento module:enable YireoTraining_MageWireBackendHelloWorld
Or try:
🧠 Tip
Want to build your own component? Add a block via XML in the admin with a magewire argument that refers to
your own Magewire component class.
👨💻 Support
Have questions or want to collaborate? Open a discussion on GitHub Discussions.
🙏 Acknowledgments
This project is forked from michielgerritsen/magewire-backend.
Special thanks to:
- @jissereitsma (Jisse Reitsma)
- @michielgerritsen (Michiel Gerritsen)
Sponsored by
统计信息
- 总下载量: 664
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-25