【发布时间】:2013-03-12 22:36:35
【问题描述】:
我在指南针 0.12.2...我正在尝试使用 config.rb 中的配置引用 http_images_path 但它看起来不像使用此引用...它仍然可以解析图像到我的本地目录...我错过了什么吗?
感谢您的帮助!!
Config.rb
http_path = "/"
# Get the directory that this configuration file exists in
dir = File.dirname(__FILE__)
# Compass configurations
sass_path = dir
css_path = File.join(dir, "..", "css")
#images_dir = "../resources/images"
http_images_path = "http://myurl/img/"
output_style = :expanded
environment = :development
css 文件:
@import "compass";
.dir
{
background: image-url("guide.jpg");
}
【问题讨论】:
标签: image http path compass-geolocation