使用 bower 安裝

bower.json
1
2
3
4
5
// 加入 depenencies (後面為版本號)
"dependencies": {
"bourbon": "4.2.7",
"neat": "1.8.0"
}
1
2
# 進行安裝
$ bower install
1
2
3
4
5
$ cd styles/import
# link過來並命名為bourbon
$ ln -s ../../vender/bower/bourbon/app/assets/stylesheets bourbon
# link過來並命名為neat
$ ln -s ../../vender/bower/neat/app/assets/stylesheets neat

Usage

如此一來就可以直接從 SASS import 進來了

style.sass
1
2
@import 'import/bourbon'
@import 'import/neat'