I'm trying to connect my CSS file into my project. For this I do:
In /web/css/ I've created my-custom.css file. Later in /views/my_folder/_form.php I've added these lines:
use \app\assets\AppAsset;
AppAsset::register($this);
but it still does not work. I'm new in Yii2, so maybe I do something wrong. Any suggestions what I need to do else?