I
I
Ilya Beloborodov2018-02-16 11:34:13
Yii
Ilya Beloborodov, 2018-02-16 11:34:13

How to include css files at the bottom of a document in yii2?

I want to try including css files before closing the tag . Is it possible to do this with asset manager? </body>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-02-16
@kowap

Good morning.
If you change the place where js files are connected, then it is enough to use public $jsOptions. But for css, I think it will be necessary to override the protected methods renderBodyEndHtml() and renderHeadHtml()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question