【发布时间】:2015-02-20 17:36:19
【问题描述】:
我在 Meteor 中使用 Stylus 作为 css 预处理器。
现在我必须为所有文件添加“.import.styl”后缀,然后手动将它们导入到一个大的“app.styl”文件中。
示例文件:
app.styl
header.import.styl
body.import.styl
app.styl 的内容是:
@import header.import.styl
@import body.import.styl
在 Meteor.js 中没有更优雅的方式来做到这一点吗?
【问题讨论】: