S
S
Slava Legostin2015-05-13 08:16:08
Yii
Slava Legostin, 2015-05-13 08:16:08

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

2 answer(s)
S
Slava Legostin, 2015-05-13
@legostin

Found the reason. Due to my inattention, I erased the line
in layouts, returned it to its rightful place, everything worked =)

T
The Dragger, 2015-05-13
@IPD2

And they shouldn't be loaded!
yiiframework.ru/doc/cookbook/ru/core.assets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question