As pravino to connect the scripts in the form?

How to connect script after connecting all the scripts (specifically interested in jQuery)
tried in this way.
$this->registerJsFile(Yii::getAlias('@backendWebroot').'/js/morris.min.js',['position' => yii\web\View::POS_READY]);


is output through POS_LOAD the same situation.
if so how do you know immediately after the tag
July 12th 19 at 16:47
1 answer
July 12th 19 at 16:49
Solution
make a separate asset for this set of scripts/styles. ask depend and just register on the page

Find more questions by tags Yii