I have a question how to include js file in last position after including jquery file. beacuse, what's the problem now is my js-load, and after that the jQuery file is loaded. as of now, I added a file like:
use frontend\assets\AppAsset;
AppAsset::register($this);
$this->registerJsFile('@frontend_base/web/js/sendverification.js');
so this will add the js file, but not the last. so how can i achieve this?
source
share