0

我正在使用 senhca touch 进​​行开发。我知道 sass 用于自定义 sencha touch 中的主题。我安装了所需的材料,但是当我编译 scss 文件时,它给出了错误:

You must compile individual stylesheets from the project directory.

我很困惑。谁能帮我?我尝试通过提供完整路径进行编译,但它仍然无法正常工作。配置=.rb如下..

 # Get the directory that this configuration file exists in
 dir = File.dirname(__FILE__)
 # Load the sencha-touch framework automatically.
 load File.join(dir, '..', 'themes')
 # Compass configurations
 sass_path    = dir
 css_path     = File.join(dir, "..", "css")
 environment  = :production
 output_style = :compressed
4

1 回答 1

1

config.rb,文件路径css_dirsass_dir 需要相对于所在文件夹config.rb。看看你是否有这个问题

于 2013-01-01T12:35:17.467 回答