Okuqukethwe
Zitholele ukuthi yini efakwe ku-Bootstrap, okuhlanganisa nokunambitheka kwekhodi yethu ehlanganiswe ngaphambili neyomthombo. Khumbula, ama-plugin e-Bootstrap's JavaScript adinga i-jQuery.
Uma isilandiwe, vula unzip ifolda ecindezelwe futhi uzobona okufana nalokhu:
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.js
futhi ancishisiwe bootstrap.bundle.min.js
) afaka i- Popper , kodwa hhayi i- jQuery .
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 |
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 |
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:
I scss/
kanye js/
nekhodi yomthombo ye-CSS yethu ne-JavaScript. Ifolda dist/
ihlanganisa konke okusohlwini lwesigaba sokudawuniloda esihlanganiswe ngaphambili ngenhla. Ifolda docs/
ihlanganisa ikhodi yomthombo yemibhalo yethu, kanye examples/
nokusetshenziswa kwe-Bootstrap. Ngaphandle kwalokho, noma yiliphi elinye ifayela elifakiwe linikeza ukwesekwa kwamaphakheji, ulwazi lwelayisense, nokuthuthukiswa.