Source

Leswi nga endzeni

Kuma leswi katsekaka eka Bootstrap, ku katsa na nantswo wa hina wa khodi leyi hlengeletiweke ka ha ri emahlweni na ya xihlovo. Tsundzuka, ti-plugin ta JavaScript ta Bootstrap ti lava jQuery.

Bootstrap leyi hlengeletiweke ka ha ri emahlweni

Loko se u yi dawuniloda, pfula folda leyi tshikileleriweke kutani u ta vona nchumu wo fana ni lowu:

bootstrap/
├── css/
│   ├── bootstrap.css
│   ├── bootstrap.css.map
│   ├── bootstrap.min.css
│   ├── bootstrap.min.css.map
│   ├── 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
└── js/
    ├── bootstrap.bundle.js
    ├── bootstrap.bundle.min.js
    ├── bootstrap.js
    └── bootstrap.min.js

Lexi i xivumbeko xa xisekelo swinene xa Bootstrap: tifayela leti hlengeletiweke ka ha ri emahlweni ta matirhiselo ya xihatla ya ku hoxa eka kwalomu ka phurojeke yihi na yihi ya webu. Hi nyika CSS leyi hlengeletiweke na JS ( bootstrap.*), xikan’we na CSS na JS ( bootstrap.min.*) leyi hlengeletiweke ni leyi hungutiweke. Mimepe ya xihlovo xa CSS ( bootstrap.*.map) yi kumeka leswaku yi tirhisiwa ni switirhisiwa swo karhi swa vaendli va swihlamusela-marito. Tifayili ta JS leti hlanganisiweke ( bootstrap.bundle.jsna leti hungutiweke bootstrap.bundle.min.js) ti katsa Popper , kambe ku nga ri jQuery .

Tifayili ta CSS

Bootstrap yi katsa swihlawulekisi swi nga ri swingani swo katsa swin’wana kumbe hinkwaswo swa CSS ya hina leyi hlengeletiweke.

Tifayili ta CSS Vuandlalo Vundzeni Swiphemu swa kona Switirhisiwa
bootstrap.css
bootstrap.min.css
Ku katsiwile Ku katsiwile Ku katsiwile Ku katsiwile
bootstrap-grid.css
bootstrap-grid.min.css
Ntsena sisiteme ya gridi A swi katsiwanga A swi katsiwanga Ntsena switirhisiwa swa flex
bootstrap-reboot.css
bootstrap-reboot.min.css
A swi katsiwanga Ntsena Reboot A swi katsiwanga A swi katsiwanga

Tifayili ta JS

Hilaha ku fanaka, hi ni tindlela to katsa yin’wana kumbe hinkwayo ya JavaScript ya hina leyi hlengeletiweke.

Tifayili ta JS Popper jXivutiso
bootstrap.bundle.js
bootstrap.bundle.min.js
Ku katsiwile A swi katsiwanga
bootstrap.js
bootstrap.min.js
A swi katsiwanga A swi katsiwanga

Khodi ya xihlovo ya bootstrap

Ku dawuniloda ka khodi ya xihlovo ya Bootstrap ku katsa nhundzu ya CSS na JavaScript leyi hlengeletiweke ka ha ri emahlweni, kun’we na xihlovo xa Sass, JavaScript, na matsalwa. Hi ku kongoma, yi katsa leswi landzelaka ni swin’wana:

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

The scss/na js/i khodi ya xihlovo ya CSS na JavaScript ya hina. Folda dist/yi katsa hinkwaswo leswi xaxametiweke eka xiyenge xa ​​ku dawuniloda loku hlengeletiweke ka ha ri emahlweni laha henhla. Folda docs/yi katsa khodi ya xihlovo ya matsalwa ya hina, na examples/ya matirhiselo ya Bootstrap. Ku tlula kwalaho, fayili yin’wana na yin’wana leyi katsiweke yi nyika nseketelo wa tiphasela, vuxokoxoko bya layisense, na nhluvukiso.