課程
/前端開發
/Node.js
/node+mongodb 建站攻略(一期)
開始準備的時候 npm insatll bootstrap -g
這集又說bower install bootstrap -g 的?
2016-07-20
源自:node+mongodb 建站攻略(一期) 2-3
正在回答
-g是全局安裝,bootstrap是樣式,不需要全局安裝,而且是在工程根目錄先bower install bootstrap(不是npm insatll bootstrap,需要npm insatll bower,配置git后才能使用bower安裝),默認是在安裝在根目錄下的bower_components文件夾中,根目錄設置了.bowerrc,會根據對應的鍵值對安裝的對應目錄下
{
"directory":"public/libs"
}
nanfei9330 提問者
聽羽
舉報
帶你完整實現一個從前端到后端的項目,初中級前端開發工程師必學課程
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-07-21
-g是全局安裝,bootstrap是樣式,不需要全局安裝,而且是在工程根目錄先bower install bootstrap(不是npm insatll bootstrap,需要npm insatll bower,配置git后才能使用bower安裝),默認是在安裝在根目錄下的bower_components文件夾中,根目錄設置了.bowerrc,會根據對應的鍵值對安裝的對應目錄下
{
"directory":"public/libs"
}