yaroslavche/easyadminlte
Composer 安装命令:
composer require yaroslavche/easyadminlte
包简介
EasyAdmin AdminLTE layout
README 文档
README
Make sure that you have installed symfony bundles admin and webpack.
Install package:
$ composer require yaroslavche/easyadminlte
$ yarn install --force
Add easyadminlte Webpack Encore entry to webpack.config.js:
# webpack.config.js Encore // ... .addEntry('easyadminlte', './vendor/yaroslavche/easyadminlte/src/Resources/assets/dist/easyadminlte.js')
Build assets
$ yarn watch
Extend DashboardController from AbstractAdminLTEDashboardController instead of AbstractDashboardController
# src/Controller/Admin/DashboardController.php use Yaroslavche\EasyAdminLTE\Controller\AbstractAdminLTEDashboardController; class DashboardController extends AbstractAdminLTEDashboardController
Troubleshooting
Could not find a version of package
# composer.json "minimum-stability": "dev",
yarn watch Missed import
$ yarn add --dev @fortawesome/fontawesome-free bootstrap jquery admin-lte
There are no registered paths for namespace "!EasyAdminLTE".
# config/bundles.php Yaroslavche\EasyAdminLTE\EasyAdminLTEBundle::class => ['all' => true],
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-10