【发布时间】:2014-01-29 19:30:11
【问题描述】:
我正在研究使用流星构建的流星网站设计。我正在使用手写笔编写css。我读过 Meteor 默认支持手写笔导入,但是当我将主要样式表拆分为部分时,它们会被流星单独导入。如果我想注释掉部分以禁用它,它仍然会被导入。
我有以下结构:
site/
client/
stylesheets/
partials/
all.styl
typography.styl
webform.styl
etc.styl
main.styl
在 main.styl 我做 @import 'partials/all 并且所有导入所有部分:
@import 'typography'
@import 'webform'
@import 'etc'
流星是否支持手写笔中的@import?我尝试添加 stylus 包,stylus-latest 但无济于事。
这个人似乎说它开箱即用:https://github.com/percolatestudio/ground-control。我尝试运行该应用程序,但它不适用于最新的流星。
有人给我小费吗?
干杯
【问题讨论】: