Style sheet for symfony2 is not reflected

Asked 2 years ago, Updated 2 years ago, 141 views

I have a question.
To reflect the style sheet
I placed the style sheet in the hierarchy below and set up the source.
Where is the problem?
Thank you for your cooperation.

layout.html.twig

symfony_demo/app/Resources/assets/cs/style.css← Which one?
web/css/style.css←?

php symfony2 twig

2022-09-30 19:51

1 Answers

Tried local Windows 10+ Symphony 2.

Place it in web/css/style.css and
in the layout.html.twig file.
By describing , the style sheet should be applied.

Reference Site
http://docs.symfony.gr.jp/symfony2/cookbook/assetic/asset_management.html


2022-09-30 19:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.