Nsɛm a Ɛwɔ Mu
Hwehwɛ nea ɛka Bootstrap ho, a yɛn precompiled ne source code flavors ka ho. Kae sɛ, Bootstrap no JavaScript plugins no hia jQuery.
Sɛ wotwe wie a, yi folda a wɔahyɛ no den no na wubehu biribi te sɛ eyi:
Eyi ne Bootstrap no kwan titiriw sen biara: fael ahorow a wɔadi kan aboaboa ano a wɔde di dwuma ntɛmntɛm wɔ ɛkame ayɛ sɛ wɛb adwuma biara mu. Yɛde CSS ne JS a wɔaboaboa ano ( bootstrap.*
), ne CSS ne JS ( ) a wɔaboaboa ano na wɔayɛ no ketewaa nso ma bootstrap.min.*
. CSS source maps ( bootstrap.*.map
) wɔ hɔ a wobetumi de adi dwuma wɔ browser ahorow bi’ developer nnwinnade ahorow bi mu. JS fael ahorow a wɔaboaboa ano ( bootstrap.bundle.js
ne nea wɔayɛ no ketewaa bootstrap.bundle.min.js
) no de Popper ka ho , nanso ɛnyɛ jQuery .
Bootstrap no ka nsa kakraa bi a wobɛpaw a wode bɛka yɛn CSS a wɔaboaboa ano no bi anaa ne nyinaa ho.
CSS fael ahorow | Twa kwan | Emu nsɛm | Nneɛma a ɛwom | Nneɛma a wɔde di dwuma |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Nea ɛka ho | Nea ɛka ho | Nea ɛka ho | Nea ɛka ho |
bootstrap-grid.css
bootstrap-grid.min.css
|
Grid nhyehyɛe nkutoo | Ɛnyɛ nea ɛka ho | Ɛnyɛ nea ɛka ho | Flex utilities nkutoo na ɛyɛ |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Ɛnyɛ nea ɛka ho | Reboot nkutoo | Ɛnyɛ nea ɛka ho | Ɛnyɛ nea ɛka ho |
Saa ara nso na yɛwɔ akwan horow a yɛbɛfa so de yɛn JavaScript a yɛaboaboa ano no bi anaa ne nyinaa aka ho.
JS fael ahorow | Popper a ɔkyerɛwee | jAsɛmmisa |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Nea ɛka ho | Ɛnyɛ nea ɛka ho |
bootstrap.js
bootstrap.min.js
|
Ɛnyɛ nea ɛka ho | Ɛnyɛ nea ɛka ho |
Bootstrap source code download no ka CSS ne JavaScript agyapade a wɔadi kan aboaboa ano no ho, ne source Sass, JavaScript, ne nkrataa. Nea ɛkɔ akyiri no, nea edidi so yi ne nea ɛkeka ho ka ho:
Na scss/
ne js/
yɛn CSS ne JavaScript no fibea koodu. dist/
Biribiara a wɔakyerɛw wɔ ɔfã a wɔadi kan aboaboa ano a wɔatwe wɔ atifi hɔ no ka folda no ho . docs/
Folda no wɔ source code a yɛde yɛ yɛn nkrataa no, ne Bootstrap examples/
dwumadie ho. Ɛno akyi no, fael foforo biara a ɛka ho no ma mmoa ma packages, tumi krataa ho nsɛm, ne nkɔso.