如何在不安装的情况下运行 SASS? [英] How can I run SASS without installing?

查看:69
本文介绍了如何在不安装的情况下运行 SASS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我们公司的 Web 应用程序上使用 SASS,但我无法在生产机器上安装任何程序.我搜索的关于 SASS 的所有内容都需要您运行 gem 之类的安装程序,还需要 HAML.

I wanted to use SASS on our company's web app but I can't install any programs on production machines. Everything I searched about SASS required you to run an installation program like gem and also required HAML.

我希望找到一个无需安装任何其他东西即可处理 scss 文件的脚本.

I was hoping to find just a script that processes scss files without needing to install anything else.

推荐答案

如果你可以在你的构建系统中运行 java 程序,你就可以使用 JRuby 来编译 sass.有关详细信息,请参阅答案

If you can run java program in your build system, you could use JRuby for compiling sass. See this answer for more details

这篇关于如何在不安装的情况下运行 SASS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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