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.
Bootstrap a Wɔadi Kan Aboaboa Ano
Sɛ wotwe wie a, yi folda a wɔahyɛ no den no na wubehu biribi te sɛ eyi:
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
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.*
. Source maps ( bootstrap.*.map
) wɔ hɔ a wobetumi de adi dwuma wɔ browser ahorow bi developer nnwinnade ho. 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 .
CSS fael ahorow
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 |
JS fael ahorow
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 fibea koodu
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:
bootstrap/
├── dist/
│ ├── css/
│ └── js/
├── site/
│ └── content/
| └── docs/
| └── 4.6/
| └── examples/
├── js/
└── scss/
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 . site/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.