Skip to content

yaroslavche/easyadminlte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

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],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published