Zviri mukati
Ziva izvo zvinosanganisirwa muBootstrap, kusanganisira yedu yakagadziridzwa uye sosi kodhi kodhi flavour. Rangarira, Bootstrap's JavaScript plugins inoda jQuery.
Kana wangodhawunirodha, unzip iyo yakamanikidzwa folda uye iwe uchaona chimwe chinhu chakadai:
Iyi ndiyo inonyanya kukosha yeBootstrap: akafanorongedzerwa mafaera ekukurumidza kudonhedza-mukati kushandiswa munenge chero webhu purojekiti. Isu tinopa yakaunganidzwa CSS uye JS ( bootstrap.*
), pamwe neyakaunganidzwa uye minified CSS uye JS ( bootstrap.min.*
). source mepu ( bootstrap.*.map
) iripo kuti ishandiswe nemamwe mabhurawuza ekuvandudza maturusi. Akasungwa JS mafaera ( bootstrap.bundle.js
uye minified bootstrap.bundle.min.js
) anosanganisira Popper , asi kwete jQuery .
Bootstrap inosanganisira mashoma esarudzo ekubatanidza mamwe kana ese edu akanyorwa CSS.
CSS mafaira | Layout | Content | Zvikamu | Utilities |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Included | Included | Included | Included |
bootstrap-grid.css
bootstrap-grid.min.css
|
Grid system chete | Haina kubatanidzwa | Haina kubatanidzwa | flex utilities chete |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Haina kubatanidzwa | Chete Reboot | Haina kubatanidzwa | Haina kubatanidzwa |
Saizvozvo, isu tine sarudzo dzekubatanidza zvimwe kana ese edu akaunganidzwa JavaScript.
JS mafaira | Popper | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Included | Haina kubatanidzwa |
bootstrap.js
bootstrap.min.js
|
Haina kubatanidzwa | Haina kubatanidzwa |
Iyo Bootstrap sosi kodhi yekurodha inosanganisira iyo yakafanorongwa CSS uye JavaScript midziyo, pamwe nekwakabva Sass, JavaScript, uye zvinyorwa. Kunyanya kunyanya, zvinosanganisira zvinotevera uye nezvimwe:
Iwo scss/
uye js/
ndiwo kodhi kodhi yeCSS yedu uye JavaScript. Iyo dist/
folda inosanganisira zvese zvakanyorwa mu precompiled yekurodha chikamu pamusoro. Iyo docs/
folda inosanganisira iyo kodhi kodhi yezvinyorwa zvedu, uye examples/
zveBootstrap kushandiswa. Kupfuura izvozvo, chero imwe faira inosanganisirwa inopa rutsigiro rwepakeji, ruzivo rwerezinesi, uye kusimudzira.