Source

Nuxurka

Soo hel waxa ku jira Bootstrap, oo ay ku jiraan dhadhanka koodhka ee hore loo soo ururiyey. Xusuusnow, Bootstrap's JavaScript plugins waxay u baahan yihiin jQuery.

Bootstrap-ka la sii diyaariyay

Marka la soo dejiyo, ka fur galka la cufay oo waxaad arki doontaa wax sidan oo kale ah:

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

Kani waa qaabka ugu aasaasiga ah ee Bootstrap: faylalka horay loo soo diyaariyay ee isticmaalka degdega ah ee ku dhawaad ​​mashruuc kasta oo shabakad ah. Waxaan bixinaa CSS iyo JS ( bootstrap.*), iyo sidoo kale CSS la soo ururiyey oo la yareeyey iyo JS ( bootstrap.min.*). Khariidadaha isha CSS ( bootstrap.*.map) ayaa diyaar u ah in lagu isticmaalo daalacashada qalabyada horumariyaha qaarkood. Faylasha JS ee la xidhxidhay ( bootstrap.bundle.jsiyo la yareeyey bootstrap.bundle.min.js) waxaa ku jira Popper , laakiin maaha jQuery .

Faylasha CSS

Bootstrap waxa ku jira dhawr doorasho oo lagu daro qaar ama dhammaan CSS-tayada la ururiyey.

Faylasha CSS Qaabka Nuxurka Qaybaha Utility
bootstrap.css
bootstrap.min.css
Waxaa ka mid ah Waxaa ka mid ah Waxaa ka mid ah Waxaa ka mid ah
bootstrap-grid.css
bootstrap-grid.min.css
Kaliya nidaamka grid Laguma darin Laguma darin Kaliya dabacsanaan utility
bootstrap-reboot.css
bootstrap-reboot.min.css
Laguma darin Kaliya dib u kab Laguma darin Laguma darin

faylasha JS

Sidoo kale, waxaan haysanaa doorashooyin aan ku dari karno qaar ama dhammaan JavaScript-ga la soo ururiyey.

faylasha JS Popper jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
Waxaa ka mid ah Laguma darin
bootstrap.js
bootstrap.min.js
Laguma darin Laguma darin

Koodhka isha bootstrap

Soo dejinta koodhka isha Bootstrap waxaa ku jira CSS-da la sii diyaariyay iyo hantida JavaScript, oo ay la socoto isha Sass, JavaScript, iyo dukumeenti Si gaar ah, waxa ka mid ah kuwan soo socda iyo in ka badan:

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

Waa scss/oo js/ah koodhka isha ee CSS iyo JavaScript. Galka dist/waxa ku jira wax kasta oo ku taxan qaybta hore loo soo dejiyey ee sare. Galka docs/waxaa ku jira summada isha ee dukumeentigeena, iyo examples/isticmaalka Bootstrap. Intaa ka sokow, fayl kasta oo lagu soo daray wuxuu bixiyaa taageerada xirmooyinka, macluumaadka shatiga, iyo horumarinta.