Source

ọdịnaya

Chọpụta ihe agụnyere na Bootstrap, gụnyere ụtọ koodu anyị achịkọtaburu na isi mmalite. Cheta, plugins JavaScript nke Bootstrap chọrọ jQuery.

Bootstrap achịkọtaburu

Ozugbo ebudatara, mepee folda ahụ abịakọrọ, ị ga-ahụ ihe dị ka nke a:

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

Nke a bụ ụdị Bootstrap kachasị ewu ewu: faịlụ achịkọtara achịkọtara maka ojiji ntinye ngwa ngwa n'ihe fọrọ nke nta ka ọ bụrụ ọrụ webụ ọ bụla. Anyị na-enye CSS na JS ( bootstrap.*), yana CSS na JS ( bootstrap.min.*) chịkọtara na obere . maapụ isi mmalite ( bootstrap.*.map) dị maka iji ya na ụfọdụ ngwaọrụ nrụpụta ihe nchọgharị. Faịlụ JS ekpokọtara ( bootstrap.bundle.jsna nke pere mpe bootstrap.bundle.min.js) gụnyere Popper , mana ọ bụghị jQuery .

CSS faịlụ

Bootstrap gụnyere nhọrọ ole na ole maka ịgụnye ụfọdụ ma ọ bụ CSS anyị achịkọtara.

CSS faịlụ Nhazi Ọdịnaya Ngwa Ngwa ọrụ
bootstrap.css
bootstrap.min.css
gụnyere gụnyere gụnyere gụnyere
bootstrap-grid.css
bootstrap-grid.min.css
Sistemụ grid naanị Agụnyeghị Agụnyeghị Naanị flex utilities
bootstrap-reboot.css
bootstrap-reboot.min.css
Agụnyeghị Naanị malitegharịa Agụnyeghị Agụnyeghị

JS faịlụ

N'otu aka ahụ, anyị nwere nhọrọ maka ịgụnye ụfọdụ ma ọ bụ niile Javascript anyị achịkọtara.

JS faịlụ Popper jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
gụnyere Agụnyeghị
bootstrap.js
bootstrap.min.js
Agụnyeghị Agụnyeghị

Koodu isi mmalite bootstrap

Nbudata koodu isi mmalite Bootstrap gụnyere CSS na akụrụngwa Javascript agbakọtara, yana isi iyi Sass, JavaScript, na akwụkwọ. Kpọmkwem, ọ gụnyere ihe ndị a yana ndị ọzọ:

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

Ndị scss/na js/bụ koodu isi mmalite maka CSS na Javascript anyị. Mpempe dist/akwụkwọ ahụ gụnyere ihe niile edepụtara na ngalaba nbudata achịkọtara achịkọtara n'elu. Ebe docs/nchekwa ahụ gụnyere koodu isi mmalite maka akwụkwọ anyị, yana examples/ojiji Bootstrap. E wezụga nke ahụ, faịlụ ọ bụla agụnyere na-enye nkwado maka ngwugwu, ozi ikike, na mmepe.