1、下載bootstrap 源文件
http://d.bootcss.com/bootstrap-3.3.5.zip
解壓 zip文件
2、安裝node.js npm 等
3、全局安裝grunt
npm install -g grunt-cli
4、cd bootstrap-3.35
npm install
5、運行grunt
grunt dist
grunt watch
grunt test
grunt docs
grunt
1、下載bootstrap 源文件
http://d.bootcss.com/bootstrap-3.3.5.zip
解壓 zip文件
2、安裝node.js npm 等
3、全局安裝grunt
npm install -g grunt-cli
4、cd bootstrap-3.35
npm install
5、運行grunt
grunt dist
grunt watch
grunt test
grunt docs
grunt
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))