Hi,
I just installed version 2.4 of this extension like this:
composer require dmstr/yii2-adminlte-asset "^2.4"
Everything went fine until I realized that not all font awesome icons loaded. After do some debugging I notice that it caused by the missmatch version of font awesome neeeded by the AdminLTE which is version 4.7.0 and the font awesome provided by rmrevin\yii\fontawesome\AssetBundle which is using version 5.
To workaround this issue I temporarily comment the dependency in AdminLTEAsset.php like below:
public $depends = [
// 'rmrevin\yii\fontawesome\AssetBundle',
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
];
And load the font awesome version 4.7.0 manually on the layouts/main.php like below:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
I don't know if this issue is valid or I just missed something.
Thank you.
Hi,
I just installed version 2.4 of this extension like this:
composer require dmstr/yii2-adminlte-asset "^2.4"Everything went fine until I realized that not all font awesome icons loaded. After do some debugging I notice that it caused by the missmatch version of font awesome neeeded by the AdminLTE which is version 4.7.0 and the font awesome provided by
rmrevin\yii\fontawesome\AssetBundlewhich is using version 5.To workaround this issue I temporarily comment the dependency in
AdminLTEAsset.phplike below:And load the font awesome version 4.7.0 manually on the layouts/main.php like below:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">I don't know if this issue is valid or I just missed something.
Thank you.