Answer the question
In order to leave comments, you need to log in
How to add a hash to a style or script in Yii2?
Hey!
There was a need for a script (or style) through ? add a dynamically generated hash.
In the assets.php file, the style is written as an array element and you cannot insert a php function there.
How it's done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question