Answer the question
In order to leave comments, you need to log in
Is it possible to transfer yii2 generated inline js to asset bundle?
There is a generated javascript that is inserted using registerJS
Is there any way to transfer it to a separate AssetBundle ?
to then combine all this with other js files and compress
Answer the question
In order to leave comments, you need to log in
You can rewrite it so that, for example, data- attributes are generated in HTML, and the script itself is static.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question