Abubuwan da ke ciki
Gano abin da aka haɗa a cikin Bootstrap, gami da shirye-shiryen mu da aka riga aka tattara da dandanon lambar tushe. Ka tuna, Bootstrap's JavaScript plugins suna buƙatar jQuery.
Bootstrap da aka riga aka haɗa
Da zarar an sauke, cire zip ɗin da aka matse kuma za ku ga wani abu kamar haka:
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
Wannan shine mafi asali nau'i na Bootstrap: fayilolin da aka riga aka tattara don amfani da sauri cikin kusan kowane aikin gidan yanar gizo. Mun samar da hadadden CSS da JS ( bootstrap.*
), da kuma hadawa da rage girman CSS da JS ( bootstrap.min.*
). Akwai taswirorin tushe ( bootstrap.*.map
) don amfani tare da wasu kayan aikin haɓaka masu bincike. Fayilolin JS da aka haɗe ( bootstrap.bundle.js
kuma an rage su bootstrap.bundle.min.js
) sun haɗa da Popper , amma ba jQuery .
CSS fayiloli
Bootstrap ya ƙunshi ɗimbin zaɓuɓɓuka don haɗa wasu ko duk CSS ɗin mu da aka haɗa.
CSS fayiloli | Tsarin tsari | Abun ciki | Abubuwan da aka gyara | Abubuwan amfani |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Kunshe | Kunshe | Kunshe | Kunshe |
bootstrap-grid.css
bootstrap-grid.min.css
|
Tsarin grid kawai | Ba a haɗa ba | Ba a haɗa ba | Kawai lanƙwasa kayan amfani |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Ba a haɗa ba | Sake yi kawai | Ba a haɗa ba | Ba a haɗa ba |
fayilolin JS
Hakazalika, muna da zaɓuɓɓuka don haɗa wasu ko duk namu da aka haɗa JavaScript.
fayilolin JS | Popper | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Kunshe | Ba a haɗa ba |
bootstrap.js
bootstrap.min.js
|
Ba a haɗa ba | Ba a haɗa ba |
Lambar tushen Bootstrap
Zazzage lambar tushe ta Bootstrap ta ƙunshi CSS da aka riga aka tattara da kadarorin JavaScript, tare da tushen Sass, JavaScript, da takaddun bayanai. Musamman ma, ya haɗa da masu zuwa da ƙari:
bootstrap/
├── dist/
│ ├── css/
│ └── js/
├── site/
│ └── content/
| └── docs/
| └── 4.6/
| └── examples/
├── js/
└── scss/
Su scss/
kuma js/
sune lambar tushe don CSS da JavaScript. Babban dist/
fayil ɗin ya ƙunshi duk abin da aka jera a cikin ɓangaren zazzagewar da aka riga aka gama a sama. Babban site/docs/
fayil ɗin ya ƙunshi lambar tushe don takaddun mu, da examples/
na amfani da Bootstrap. Bayan haka, duk wani fayil ɗin da aka haɗa yana ba da tallafi don fakiti, bayanan lasisi, da haɓakawa.