Litaba
Tseba se kenyellelitsoeng ho Bootstrap, ho kenyeletsoa le litatso tsa khoutu tsa rona tse hlophisitsoeng esale pele. Hopola, li-plugins tsa JavaScript tsa Bootstrap li hloka jQuery.
Ha e se e jarollotsoe, notlolla foldara e hatelitsoeng 'me u tla bona ntho e kang ena:
Ona ke mofuta oa mantlha oa Bootstrap: lifaele tse hlophisitsoeng esale pele bakeng sa ts'ebeliso e potlakileng ea ts'ebeliso hoo e batlang e le projeke efe kapa efe ea webo. Re fana ka CSS le JS ( bootstrap.*
) tse hlophisitsoeng, hammoho le CSS le JS ( bootstrap.min.*
). limmapa tsa mohloli ( bootstrap.*.map
) lia fumaneha bakeng sa ho sebelisoa le lisebelisoa tse ling tsa ntlafatso ea libatli. Lifaele tsa JS tse kopantsoeng ( bootstrap.bundle.js
le tse fokolitsoeng bootstrap.bundle.min.js
) li kenyelletsa Popper , empa eseng jQuery .
Bootstrap e kenyelletsa likhetho tse 'maloa tsa ho kenyelletsa tse ling kapa tsohle tsa rona tse hlophisitsoeng tsa CSS.
Lifaele tsa CSS | Sebopeho | Litaba | Likaroloana | Lisebelisoa |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Kenyellelitsoe | Kenyellelitsoe | Kenyellelitsoe | Kenyellelitsoe |
bootstrap-grid.css
bootstrap-grid.min.css
|
Ke sistimi ea grid feela | Ha e kenyelelitsoe | Ha e kenyelelitsoe | Lisebelisoa tsa flex feela |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Ha e kenyelelitsoe | Feela Reboot | Ha e kenyelelitsoe | Ha e kenyelelitsoe |
Ka mokhoa o ts'oanang, re na le likhetho tsa ho kenyelletsa tse ling kapa tsohle tsa rona tse hlophisitsoeng tsa JavaScript.
Lifaele tsa JS | Popper | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Kenyellelitsoe | Ha e kenyelelitsoe |
bootstrap.js
bootstrap.min.js
|
Ha e kenyelelitsoe | Ha e kenyelelitsoe |
Khoutu ea mohloli oa Bootstrap e kenyelletsa thepa ea CSS le JavaScript e hlophisitsoeng esale pele, hammoho le mohloli oa Sass, JavaScript le litokomane. Haholo-holo, e kenyelletsa tse latelang le tse ling:
The scss/
'me js/
ke mohloli oa khoutu ea CSS le JavaScript ea rona. Foldara dist/
e kenyelletsa ntho e 'ngoe le e' ngoe e thathamisitsoeng karolong ea download e hlophisitsoeng esale pele. Foldara docs/
e kenyelletsa khoutu ea mohloli bakeng sa litokomane tsa rona, le examples/
ts'ebeliso ea Bootstrap. Ntle le moo, faele efe kapa efe e kenyellelitsoeng e fana ka tšehetso bakeng sa liphutheloana, tlhaiso-leseling ea laesense le nts'etsopele.