请教高手,koala中compass怎么配置?
最近使用sass && compass,配置了ruby环境,通过ruby直接编辑正常使用,但是比较麻烦,每次都得打开命令,想使用koala在的compass,但不不知道怎么用
config.rb
"
require 'zurb-foundation'
require 'zen-grids'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = 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 sass scss && rm -rf sass && mv scss sass
"
使用命令
@import "compass/reset";
@import "compass/css3";
这些时,koala报错
把项目拖进Koala即可。
require 'zurb-foundation'
require 'zen-grids'
因为你引用了第三方库,需要确定你本地已安装好它们及Compass。