我有一個早午餐與卓別林應用程序。我想使用Twitter Bootstrap,但由於它是用LESS編寫的,我寧願切換到手寫筆版本。幸運的是,那裏有一個bootstrap-stylus node_module。 所以我通過npm install bootstrap-stylus
進行安裝。但是,我如何引用模塊內的手寫筆文件?做在早午餐中引用node_module的.styl
@import 'bootstrap-stylus'
不起作用。也不會追加/lib/bootstrap
路徑。
我在我dependencies
package.json
文件中有"bootstrap-stylus": ">= 0.2"
但仍然沒有去。有任何想法嗎?謝謝。
應該像'@import node_modules /自舉stylus' – generalhenry 2013-03-25 16:12:14
謝謝,這是正確的。 – Rikkles 2013-03-26 19:02:16