I’ve got an existing project that uses vanilla SASS, and I’d like to add Compass to it. I’ve used Compass in the past, but have only used it with the compass create command.
I’m looking for a way to be able to utilize the power of compass by just importing the SCSS files that are associated with it, and not having to abide by the structure it gives.
How can I do this?
All you need for compass on a stand-alone project is the gem and
config.rb. I copy/paste the config file from one project to another and then adjust settings such as plugin requirements and file structure. You can use any structure you like, as long as you set it up in the config file.Here’s an example from one of my current projects: