【发布时间】:2013-03-15 02:34:06
【问题描述】:
我有一个与卓别林一起吃早午餐的应用程序。我想使用 Twitter Bootstrap,但由于它是用 LESS 编写的,我更愿意切换到手写笔版本。幸运的是,那里有一个 bootstrap-stylus node_module。
所以我通过npm install bootstrap-stylus 安装它。但是,我如何引用模块内的手写笔文件呢?正在做
@import 'bootstrap-stylus'
不起作用。也不附加 /lib/bootstrap 路径。
我的dependencies 在package.json 文件中有"bootstrap-stylus": ">= 0.2",但仍然不行。有任何想法吗?谢谢。
【问题讨论】:
-
应该类似于
@import node_modules/bootstrap-stylus -
谢谢,没错。
标签: node.js twitter-bootstrap stylus brunch chaplinjs