вот собствено ассет
<?php
namespace frontend\assets;
use Yii;
use yii\web\AssetBundle;
/**
* Main frontend application asset bundle.
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
'css/font-awesome.min.css'
];
public $js = [
'js/bootstrap-material-datetimepicker.js',
'js/moment-with-locales.js',
'js/moment-timezone-with-data-2010-2020.js',
'js/material.min.js',
'js/main.js',
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
}
таким образом bootstrap должен подключиться в верху списка скриптов но вот почему тогда он подключаетеся вот так
<script src="/assets/e2248919/jquery.js"></script>
<script src="/assets/6b3fbfc8/yii.js"></script>
<script src="/assets/6b3fbfc8/yii.activeForm.js"></script>
<script src="/js/bootstrap-material-datetimepicker.js"></script>
<script src="/js/moment-with-locales.js"></script>
<script src="/js/moment-timezone-with-data-2010-2020.js"></script>
<script src="/js/material.min.js"></script>
<script src="/js/main.js"></script>
<script src="/assets/9cb187b1/jquery.pjax.js"></script>
<script src="/assets/1a684684/js/bootstrap.js"></script>