dmstr / yii2-adminlte-asset

AdminLTE Asset Bundle for Backend Theme in Yii2 Framework
1.14k stars 425 forks source link

The file or directory to be published does not exist #185

Open neoacevedo opened 5 years ago

neoacevedo commented 5 years ago

In the documentation https://github.com/dmstr/yii2-adminlte-asset#adminlte-plugins, you explain how to include AdminLTE plugins, specifically in this attribute for AdminlteAssets object: public $sourcePath = '@vendor/almasaeed2010/adminlte/plugins';

AdminLTE has been updated and this directory has been dropped from 2.4.9.

I suggest a change in the documentation for AdminlteAssets source path to '@vendor/almasaeed2010/adminlte/dist'

schmunk42 commented 5 years ago

This seems related to https://github.com/almasaeed2010/AdminLTE/commit/e691c465e3f4f8338336d003262283c8094ef63a

See also https://stackoverflow.com/a/17069547/291573

I haven't found the plugins code in dist - is it there in 2.4.9?

Maybe it's worth opening an issue https://github.com/almasaeed2010/AdminLTE not to exclude the plugins folder...

neoacevedo commented 5 years ago

@schmunk42 in 2.4.9 the plugins directory is outside the dist directory but is not available on update. I will open an issue in AdminLTE github repository inquiring it.