Source

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:

bootstrap/
├── css/
│   ├── bootstrap-grid.css
│   ├── bootstrap-grid.css.map
│   ├── bootstrap-grid.min.css
│   ├── bootstrap-grid.min.css.map
│   ├── bootstrap-reboot.css
│   ├── bootstrap-reboot.css.map
│   ├── bootstrap-reboot.min.css
│   ├── bootstrap-reboot.min.css.map
│   ├── bootstrap.css
│   ├── bootstrap.css.map
│   ├── bootstrap.min.css
│   └── bootstrap.min.css.map
└── js/
    ├── bootstrap.bundle.js
    ├── bootstrap.bundle.js.map
    ├── bootstrap.bundle.min.js
    ├── bootstrap.bundle.min.js.map
    ├── bootstrap.js
    ├── bootstrap.js.map
    ├── bootstrap.min.js
    └── bootstrap.min.js.map

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.jsndi 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:

bootstrap/
├── dist/
│   ├── css/
│   └── js/
├── site/
│   └──docs/
│      └── 4.4/
│          └── examples/
├── js/
└── scss/

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.