Answer the question
In order to leave comments, you need to log in
Why js and css files are not loaded from the assets folder?
Hello! I am writing the first small yii2 project based on yii2-starter-kit. For some reason, files from the assets folder on the frontend (js and css) stopped loading.
At the same time, Yii sees the extensions themselves, it does not display any errors, there are no errors in the console either.
Where to look? What could be the reason? I didn't edit the config manually.
Answer the question
In order to leave comments, you need to log in
Found the reason. Due to my inattention, I erased the line
in layouts, returned it to its rightful place, everything worked =)
And they shouldn't be loaded!
yiiframework.ru/doc/cookbook/ru/core.assets
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question