1

There are a bunch of questions related to Assetic and SASS or Compass, but nobody actually answers how to use Assetic with Compass and what the correct directory structure should be.

How do I set up my asset directories to achieve full compass functionality and benefits (auto-generated sprites, sass language, compass plugins) and have the ability to use assetic to serve up only the assets needed for that specific view. And what is the correct config to handle this setup?

How do I do this?

DMTintner
  • 14,405
  • 5
  • 35
  • 32
  • 2. Use assetic's compass filter to compile the sass files. – Wouter J May 07 '13 at 04:50
  • If you use assetics compass filter than where are u putting the scss files? cant put them in their corresponding bundles as far as i know... – DMTintner May 07 '13 at 08:38
  • Why use yui_compressor when Sass/Compass already compresses the generated CSS? – cimmanon May 07 '13 at 12:16
  • I want my scss files to compile into several different css files, not just main one. This is so I can use assetic to only serve the stylesheets that are needed for the specific view. Im thinking about using YUI after sass has already compiled them so that I can then serve the client the specific css files needed as only one file – DMTintner May 07 '13 at 22:06

0 Answers0