Skip to content

Instantly share code, notes, and snippets.

@wastemobile
Last active December 19, 2015 05:49
Show Gist options
  • Save wastemobile/5906638 to your computer and use it in GitHub Desktop.
Save wastemobile/5906638 to your computer and use it in GitHub Desktop.
使用 bootstrap-sass gem 的配置檔。安裝使用 `compass install bootstrap`,升級則用 `compass install bootstrap --force` 才能順利下載並覆蓋 JS 檔。
# Require any additional compass plugins here.
gem "bootstrap-sass", "=2.3.2.0"
require "bootstrap-sass"
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "scss"
images_dir = "img"
javascripts_dir = "js"
fonts_dir = "fonts"
output_style = :nested
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
line_comments = false
color_output = false
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass
preferred_syntax = :scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment