Zamkatimu
Dziwani zomwe zili mu Bootstrap, kuphatikiza zokometsera zathu zomwe zidapangidwa kale komanso zoyambira. Kumbukirani, mapulagini a JavaScript a Bootstrap amafuna jQuery.
Bootstrap yopangidwa kale
Mukatsitsa, tsegulani chikwatu chominikizidwa ndipo muwona chonga ichi:
Uwu ndiye mtundu wofunikira kwambiri wa Bootstrap: mafayilo opangidwa kale kuti mugwiritse ntchito mwachangu pafupifupi pulojekiti iliyonse. Timapereka CSS ndi JS ( bootstrap.*
), kuphatikizapo CSS ndi JS ( bootstrap.min.*
). mamapu ( bootstrap.*.map
) alipo kuti mugwiritse ntchito ndi zida zopangira asakatuli ena. Mafayilo ophatikizidwa a JS ( bootstrap.bundle.js
ndi minified bootstrap.bundle.min.js
) akuphatikiza Popper , koma osati jQuery .
CSS mafayilo
Bootstrap imaphatikizapo zosankha zingapo zophatikizira zina kapena zonse za CSS yathu.
CSS mafayilo | Kamangidwe | Zamkatimu | Zigawo | Zothandizira |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Kuphatikizidwa | Kuphatikizidwa | Kuphatikizidwa | Kuphatikizidwa |
bootstrap-grid.css
bootstrap-grid.min.css
|
Grid system yokha | Osaphatikizidwa | Osaphatikizidwa | Zida zosinthira zokha |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Osaphatikizidwa | Kungoyambitsanso | Osaphatikizidwa | Osaphatikizidwa |
JS mafayilo
Mofananamo, tili ndi zosankha zophatikizira zina kapena zonse zomwe zidapangidwa ndi JavaScript.
JS mafayilo | Popa | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Kuphatikizidwa | Osaphatikizidwa |
bootstrap.js
bootstrap.min.js
|
Osaphatikizidwa | Osaphatikizidwa |
Bootstrap source code
Kutsitsa kwa code ya Bootstrap kumaphatikizapo katundu wa CSS ndi JavaScript, komanso gwero la Sass, JavaScript, ndi zolemba. Makamaka, imaphatikizapo zotsatirazi ndi zina:
The scss/
ndipo js/
ndiye gwero la CSS yathu ndi JavaScript. Chikwatucho dist/
chimaphatikizapo zonse zomwe zalembedwa mugawo lotsitsa lomwe lasanjidwa pamwambapa. Fodayi site/docs/
imaphatikizapo gwero la zolemba zathu, komanso examples/
kugwiritsa ntchito Bootstrap. Kupitilira apo, fayilo ina iliyonse yophatikizidwa imapereka chithandizo pamaphukusi, zidziwitso zamalayisensi, ndi chitukuko.