有没有办法在不实际编译的情况下加入手写笔部分?我想这将与 .SCSS 文件相同 - 所以这是构建工具的问题。在 codekit - 您可以通过这种方式加入 javascript 文件 / 但那是因为它不是超集风格的语言。我目前根据堆栈使用西兰花或早午餐,用于我的构建。我现在对尝试任何其他构建工具不感兴趣。
_thing-1.styl
html
background: blue
_thing-2.styl
div
background: red
_thing-3.styl
span
color: yellow
应用样式
@import '_thing-1'
@import '_thing-2'
@import '_thing-3'
应用程序.css
html {
background: blue;
}
div {
background: red;
}
span {
color: yellow;
}
而且……这也是我想要的……
_master.styl
html
background: blue
div
background: red
span
color: yellow
有任何想法吗?