Using compass/sass with Symfony 2

前端 未结 2 438
迷失自我
迷失自我 2021-02-10 11:46

I\'ve been googling around for an answer to this but haven\'t found exactly what I\'m looking for.

I\'m dipping my toes in the water of the Symfony framework having been

2条回答
  •  情深已故
    2021-02-10 12:25

    I ended up making a directory structure for my compass project in the main app/Resources folder. I've been able to create "bundle-specific" directories if I need them and then use Compass to compile the whole lot down to one main css file (also stored in app/Resources/public. I then use Assetic to "publish" (or whatever it does) that file into my web root using the normal method of including stylesheets into my base twig templates.

提交回复
热议问题