是否可以更改不同文件的SASS / Compass输出文件夹? [英] Possible to change the SASS/Compass output folder for different files?

查看:275
本文介绍了是否可以更改不同文件的SASS / Compass输出文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Compass是否可以将文件输出到不同的目录?我有一个相当大的项目,虽然大多数CSS文件放在/ css文件夹,其他人需要进入/ admin / css文件夹。我现在是符号链接他们,但如果我可以定义一个文件数组(在config.rb?),可以输出到其他地方。

I'm wondering if it's possible for Compass to output files to different directories? I have a fairly large project and while most CSS files go in the /css folder, others need to go in the /admin/css folder. I'm symlinking them for now, but it'd be great if I could define an array of files (in config.rb?) that could be output elsewhere.

推荐答案

在config.rb中编辑 css_dir =/到您想要的目录!我不认为它可以处理多个输出文件夹。

In config.rb edit the css_dir = "/" to your wanted directory! I don't think it can handle multiple output folders.

这篇关于是否可以更改不同文件的SASS / Compass输出文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆