You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
after combining assets
./yii asset assets.php config/assets-prod.php
file /vendor/almasaeed2010/adminlte/dist/css/skins/_all-skins.min.css link to my project web folder /css/skins/_all-skins.min.css but there is no file.
assets.php
`<?php
/**
Configuration file for the "yii asset" console command.
*/
// In the console environment, some path aliases may not exist. Please define these:
Yii::setAlias('@webroot', DIR . '/web');
Yii::setAlias('@web', '/');
Which Yii version are you using?
There's a known issue, because skins files are not included in the class definition, but loaded dynamically. I thought this was fixed in Yii itself, but I am unsure.
Hello.
after combining assets
./yii asset assets.php config/assets-prod.php
file /vendor/almasaeed2010/adminlte/dist/css/skins/_all-skins.min.css link to my project web folder /css/skins/_all-skins.min.css but there is no file.
assets.php
`<?php
/**
*/
// In the console environment, some path aliases may not exist. Please define these:
Yii::setAlias('@webroot', DIR . '/web');
Yii::setAlias('@web', '/');
return [
// Adjust command/callback for JavaScript files compressing:
'jsCompressor' => 'java -jar compiler.jar --js {from} --js_output_file {to}',
// Adjust command/callback for CSS files compressing:
'cssCompressor' => 'java -jar yuicompressor-2.4.8.jar --type css {from} -o {to}',
// Whether to delete asset source after compression:
'deleteSource' => false,
// The list of asset bundles to compress:
'bundles' => [
'admin\assets\AppAsset',
'dmstr\web\AdminLteAsset',
// 'yii\web\YiiAsset',
// 'yii\web\JqueryAsset',
],
// Asset bundle for compression output:
'targets' => [
'all' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot/assets',
'baseUrl' => '@web/assets',
'js' => 'js/all-{hash}.js',
'css' => 'css/all-{hash}.css',
],
],
// Asset manager configuration:
'assetManager' => [
'basePath' => '@webroot/assets',
'baseUrl' => '@web/assets',
],
];`
maybe I'm doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: