首页 新闻 会员 周边

koala中compass怎么配置?

0
悬赏园豆:5 [已关闭问题] 关闭于 2014-05-03 09:25

请教高手,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报错

kingwell的主页 kingwell | 菜鸟二级 | 园豆:204
提问于:2014-04-28 17:16
< >
分享
所有回答(1)
0

把项目拖进Koala即可。

require 'zurb-foundation'
require 'zen-grids'

因为你引用了第三方库,需要确定你本地已安装好它们及Compass。

Ethanlai | 园豆:202 (菜鸟二级) | 2014-05-20 09:37
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册