ʻIkepili
E ʻike i nā mea i hoʻokomo ʻia i loko o Bootstrap, me kā mākou ʻono i hoʻopaʻa mua ʻia a kumu kumu.
Bootstrap i hoʻopili mua ʻia
Ke hoʻoiho ʻia, wehe i ka waihona i hoʻopaʻa ʻia a ʻike ʻoe i kahi mea penei:
bootstrap/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-grid.rtl.css
│ ├── bootstrap-grid.rtl.css.map
│ ├── bootstrap-grid.rtl.min.css
│ ├── bootstrap-grid.rtl.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap-reboot.rtl.css
│ ├── bootstrap-reboot.rtl.css.map
│ ├── bootstrap-reboot.rtl.min.css
│ ├── bootstrap-reboot.rtl.min.css.map
│ ├── bootstrap-utilities.css
│ ├── bootstrap-utilities.css.map
│ ├── bootstrap-utilities.min.css
│ ├── bootstrap-utilities.min.css.map
│ ├── bootstrap-utilities.rtl.css
│ ├── bootstrap-utilities.rtl.css.map
│ ├── bootstrap-utilities.rtl.min.css
│ ├── bootstrap-utilities.rtl.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap.rtl.css
│ ├── bootstrap.rtl.css.map
│ ├── bootstrap.rtl.min.css
│ └── bootstrap.rtl.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.esm.js
├── bootstrap.esm.js.map
├── bootstrap.esm.min.js
├── bootstrap.esm.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
ʻO kēia ke ʻano maʻamau o Bootstrap: nā faila precompiled no ka hoʻohana wikiwiki ʻana i ka hoʻohana ʻana ma kahi o nā papahana pūnaewele. Hāʻawi mākou i CSS a me JS i hui pū ʻia ( bootstrap.*
), a me CSS a me JS i hōʻuluʻulu ʻia a hoʻemi ʻia ( bootstrap.min.*
). Loaʻa nā palapala ʻāina kumu ( bootstrap.*.map
) no ka hoʻohana ʻana me kekahi mau mea hoʻomohala pūnaewele. ʻO nā faila JS i hui pū ʻia ( bootstrap.bundle.js
a hoʻemi ʻia bootstrap.bundle.min.js
) me Popper .
Nā faila CSS
Loaʻa i ka Bootstrap kahi lima o nā koho no ka hoʻokomo ʻana i kekahi a i ʻole kā mākou CSS i hōʻuluʻulu ʻia.
Nā faila CSS | Hoʻolālā | Maʻiʻo | Nā ʻāpana | Nā pono hana |
---|---|---|---|---|
bootstrap.css
bootstrap.rtl.css
bootstrap.min.css
bootstrap.rtl.min.css
|
Hoʻokomo ʻia | Hoʻokomo ʻia | Hoʻokomo ʻia | Hoʻokomo ʻia |
bootstrap-grid.css
bootstrap-grid.rtl.css
bootstrap-grid.min.css
bootstrap-grid.rtl.min.css
|
ʻōnaehana mānoanoa wale nō | — | — | ʻO nā pono ponoʻī wale nō |
bootstrap-utilities.css
bootstrap-utilities.rtl.css
bootstrap-utilities.min.css
bootstrap-utilities.rtl.min.css
|
— | — | — | Hoʻokomo ʻia |
bootstrap-reboot.css
bootstrap-reboot.rtl.css
bootstrap-reboot.min.css
bootstrap-reboot.rtl.min.css
|
— | Hoʻomaka hou wale | — | — |
JS waihona
Pēlā nō, loaʻa iā mākou nā koho no ka hoʻokomo ʻana i kekahi o kā mākou JavaScript i hōʻuluʻulu ʻia.
JS waihona | Popper |
---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Hoʻokomo ʻia |
bootstrap.js
bootstrap.min.js
|
— |
Code kumu Bootstrap
Loaʻa i ka hoʻoiho kumu kumu Bootstrap nā waiwai CSS a me JavaScript i hoʻopaʻa mua ʻia, me ke kumu Sass, JavaScript, a me nā palapala. ʻOi aku ka kikoʻī, e pili ana i kēia a me nā mea hou aku:
bootstrap/
├── dist/
│ ├── css/
│ └── js/
├── site/
│ └──content/
│ └── docs/
│ └── 5.0/
│ └── examples/
├── js/
└── scss/
ʻO ka scss/
a js/
ʻo ia ke kumu kumu no kā mākou CSS a me JavaScript. Aia ka dist/
waihona i nā mea a pau i helu ʻia ma ka ʻāpana hoʻoiho precompiled ma luna. Aia ka site/docs/
waihona i ke kumu kumu no kā mākou palapala, a me examples/
ka hoʻohana ʻana iā Bootstrap. Ma waho aʻe o kēlā, hāʻawi nā faila ʻē aʻe i ke kākoʻo no nā pūʻolo, ʻike laikini, a me ka hoʻomohala ʻana.