yaroslavche / easyadminlte
EasyAdmin AdminLTE layout
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Language:Twig
Type:symfony-bundle
Requires
- php: >=8.1
- ext-json: *
- symfony/config: ^6.0
- symfony/dependency-injection: ^6.0
- symfony/http-kernel: ^6.0
Requires (Dev)
- phpunit/phpunit: ^10
- symfony/framework-bundle: ^6.0
- symfony/twig-bundle: ^6.0
- symfony/var-dumper: ^6.0
This package is auto-updated.
Last update: 2024-10-11 03:13:45 UTC
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],