Difference between revisions of "Setting up a existing Project with Sass"

From rbachwiki
Jump to navigation Jump to search
(Created page with "== Install sass and compass if not installed == gem install sass gem install compass == Config Rb file == <pre> require 'susy' require 'compass/import-once/activate' http_...")
 
Line 6: Line 6:
<pre>
<pre>
require 'susy'
require 'susy'
require 'breakpoint'
require 'compass/import-once/activate'
require 'compass/import-once/activate'



Revision as of 14:59, 24 August 2016

Install sass and compass if not installed

gem install sass
gem install compass

Config Rb file

require 'susy'
require 'breakpoint'
require 'compass/import-once/activate'

http_path = "/" 
css_dir = "css" 
sass_dir = "scss" 
images_dir = "images" 
javascripts_dir = "js" 
output_style = :expanded 
relative_assets = true 
line_comments = true