Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何工具可以将 SASS/SCSS 转换为 Stylus?
或者有什么方法可以加快编译 SCSS?
MojoTech制作了一个工具,可以轻松地将 SASS 转换为 Stylus:
http://sass2stylus.com/
如果您想了解它的工作原理,可以在 Github 上查看源代码。
我怀疑是否有任何可用的直接工具,但你可以这样做:
将 SASS 转换为 CSS
sass input.scss -o output.css
然后将 CSS 转换为 Stylus
stylus --css output.css input.styl
一行转换
sass input.scss | stylus --css