Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony 2.0 Where do i put my base.css file

Tags:

php

symfony

Im new to symfony and unsure as to where my CSS / JS files in Symfony 2.0. Can anybody give me some guidance.

I've been reading up alot on aesthetics but I reckon i'll only ever use one CSS file for my site, therefore I dont see the need of aesthetics just yet.

like image 642
TJones Avatar asked Dec 02 '25 16:12

TJones


1 Answers

I put mine in my primary site bundle and then published the assets to the web folder.

src/You/YourBundle/Resources/public/css

and then

app/console assets:install

which copies them to the web folder.

like image 200
alex.pilon Avatar answered Dec 05 '25 05:12

alex.pilon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!