Source

Awọn akoonu

Ṣawari ohun ti o wa ninu Bootstrap, pẹlu iṣaju iṣaju wa ati awọn adun koodu orisun. Ranti, awọn afikun JavaScript Bootstrap nilo jQuery.

Bootstrap ti a ti ṣajọ tẹlẹ

Ni kete ti o ba gbasilẹ, ṣii folda ti o ni fisinuirindigbindigbin ati pe iwọ yoo rii nkan bii eyi:

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

Eyi ni fọọmu ipilẹ julọ ti Bootstrap: awọn faili ti a ṣajọ tẹlẹ fun lilo sisọ-silẹ ni iyara ni fere eyikeyi iṣẹ akanṣe wẹẹbu. A pese CSS ti a kojọpọ ati JS ( bootstrap.*), bakannaa ti a ṣajọpọ ati minifised CSS ati JS ( bootstrap.min.*). awọn maapu orisun ( bootstrap.*.map) wa fun lilo pẹlu awọn irinṣẹ idagbasoke awọn aṣawakiri kan. Awọn faili JS ti a dipọ ( bootstrap.bundle.jsati miniified bootstrap.bundle.min.js) pẹlu Popper , ṣugbọn kii ṣe jQuery .

Awọn faili CSS

Bootstrap pẹlu iwonba awọn aṣayan fun pẹlu diẹ ninu tabi gbogbo CSS ti a ṣe akojọpọ.

Awọn faili CSS Ìfilélẹ Akoonu Awọn eroja Awọn ohun elo
bootstrap.css
bootstrap.min.css
To wa To wa To wa To wa
bootstrap-grid.css
bootstrap-grid.min.css
Nikan akoj eto Ko si Ko si Nikan Flex igbesi
bootstrap-reboot.css
bootstrap-reboot.min.css
Ko si Atunbere nikan Ko si Ko si

Awọn faili JS

Bakanna, a ni awọn aṣayan fun pẹlu diẹ ninu tabi gbogbo JavaScript ti a ṣe akojọpọ.

Awọn faili JS Popper jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
To wa Ko si
bootstrap.js
bootstrap.min.js
Ko si Ko si

Bootstrap koodu orisun

Igbasilẹ koodu orisun Bootstrap pẹlu CSS ti a ṣajọ tẹlẹ ati awọn ohun-ini JavaScript, pẹlu orisun Sass, JavaScript, ati iwe. Ni pataki diẹ sii, o pẹlu atẹle naa ati diẹ sii:

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

Awọn scss/ati js/pe o jẹ koodu orisun fun CSS ati JavaScript wa. Fọọmu dist/naa pẹlu ohun gbogbo ti a ṣe akojọ si ni apakan igbasilẹ ti a ti ṣajọ tẹlẹ loke. Awọn site/docs/folda pẹlu awọn koodu orisun fun wa iwe, ati examples/ti Bootstrap lilo. Ni ikọja iyẹn, eyikeyi faili to wa pẹlu n pese atilẹyin fun awọn akojọpọ, alaye iwe-aṣẹ, ati idagbasoke.