1, install the dependency
npm install react-bootstrap bootstrap
2, use the following site to help you code
react-bootstrap
本文主要是學習react-boostrap柵格系統的一些筆記,以及代碼片段, 樣式的思想還是跟bootstrap一樣,在react-bootstrap中將樣式的用法,通過Jsx屬性,做了一些更易用的輸出,在此溫故而知新。 Grid sys
1.安裝react腳手架命令 npm install create-react-app -g 本例中的版本爲[email protected] 2.通過react腳手架創建demo工程 create-react-a