Source

Okuqukethwe

Zitholele ukuthi yini efakwe ku-Bootstrap, okuhlanganisa nokunambitheka kwekhodi yethu ehlanganiswe ngaphambili neyomthombo. Khumbula, ama-plugin e-Bootstrap's JavaScript adinga i-jQuery.

I-Bootstrap Ehlanganisiwe

Uma isilandiwe, vula unzip ifolda ecindezelwe futhi uzobona okufana nalokhu:

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

Lolu uhlobo oluyisisekelo kakhulu lwe-Bootstrap: amafayela ahlanganiswe kusengaphambili ukuze asetshenziswe ngokushesha cishe kunoma iyiphi iphrojekthi yewebhu. Sihlinzeka nge-CSS ne-JS ( bootstrap.*) ehlanganisiwe, kanye ne-CSS ne-JS ( bootstrap.min.*). amamephu omthombo ( bootstrap.*.map) ayatholakala ukuze asetshenziswe namathuluzi onjiniyela weziphequluli ezithile. Amafayela e-JS ahlanganisiwe ( bootstrap.bundle.jsfuthi ancishisiwe bootstrap.bundle.min.js) afaka i- Popper , kodwa hhayi i- jQuery .

Amafayela e-CSS

I-Bootstrap ifaka phakathi idlanzana lezinketho zokufaka enye noma yonke i-CSS yethu ehlanganisiwe.

Amafayela e-CSS Isakhiwo Okuqukethwe Izingxenye Izinsiza
bootstrap.css
bootstrap.min.css
Kufakiwe Kufakiwe Kufakiwe Kufakiwe
bootstrap-grid.css
bootstrap-grid.min.css
Isistimu yegridi kuphela Akufakiwe Akufakiwe Izinsiza eziguqukayo kuphela
bootstrap-reboot.css
bootstrap-reboot.min.css
Akufakiwe Qalisa kabusha kuphela Akufakiwe Akufakiwe

JS amafayela

Ngokufanayo, sinezinketho zokufaka enye noma yonke i-JavaScript yethu ehlanganisiwe.

JS amafayela I-Popper i-jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
Kufakiwe Akufakiwe
bootstrap.js
bootstrap.min.js
Akufakiwe Akufakiwe

Ikhodi yomthombo we-Bootstrap

Ukulanda ikhodi yomthombo we-Bootstrap kufaka phakathi izimpahla ze-CSS ne-JavaScript esezihlanganiswe ngaphambili, kanye nomthombo we-Sass, i-JavaScript, nemibhalo. Ngokuqondile, kuhlanganisa okulandelayo nokunye okwengeziwe:

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

I scss/kanye js/nekhodi yomthombo ye-CSS yethu ne-JavaScript. Ifolda dist/ihlanganisa konke okusohlwini lwesigaba sokudawuniloda esihlanganiswe ngaphambili ngenhla. Ifolda site/docs/ihlanganisa ikhodi yomthombo yemibhalo yethu, kanye examples/nokusetshenziswa kwe-Bootstrap. Ngaphandle kwalokho, noma yiliphi elinye ifayela elifakiwe linikeza ukwesekwa kwamaphakheji, ulwazi lwelayisense, nokuthuthukiswa.