Answer the question
In order to leave comments, you need to log in
Why does Yii2 create symbolic links in assets?
Assets creates links to them instead of folders, as a result I get Too many levels of symbolic links?
Why is that?
Here is my assets.php
class FrontendAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/style_07_10_15.css?123',
'plugins/cssanimation/animate.css', // только для десктоп
'plugins/cssanimation/delays.css', // только для десктоп
'plugins/flexslider/flexslider.css',
'plugins/flexslider/animation_delays.css', // только для десктоп
];
public $js = [
'plugins/flexslider/jquery.flexslider-min.js',
//'plugins/calendar/calendar.js',
'js/jquery.scrollex.min.js',
'js/front.js',
];
public $depends = [
'yii\web\YiiAsset', // тянет jquery
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
'common\assets\Html5shiv',
'common\assets\FontAwesome',
];
}
Answer the question
In order to leave comments, you need to log in
You can disable www.yiiframework.com/doc-2.0/yii-web-assetmanager....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question