in English

ʻ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. E hoʻomanaʻo, pono nā plugins JavaScript a Bootstrap i ka jQuery.

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-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

ʻ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 i hui pū ʻia a me JS ( bootstrap.*), a me CSS i hōʻuluʻulu ʻia a hoʻemi ʻia a me JS ( bootstrap.min.*). Loaʻa nā palapala ʻāina kumu ( bootstrap.*.map) no ka hoʻohana ʻana me kekahi mau mea hoʻomohala polokalamu kele pūnaewele. ʻO nā faila JS i hui pū ʻia ( bootstrap.bundle.jsa hoʻemi ʻia bootstrap.bundle.min.js) me Popper , akā ʻaʻole jQuery .

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.min.css
Hoʻokomo ʻia Hoʻokomo ʻia Hoʻokomo ʻia Hoʻokomo ʻia
bootstrap-grid.css
bootstrap-grid.min.css
ʻōnaehana mānoanoa wale nō ʻAʻole i komo ʻAʻole i komo ʻO nā pono ponoʻī wale nō
bootstrap-reboot.css
bootstrap-reboot.min.css
ʻAʻole i komo Hoʻomaka hou wale ʻAʻole i komo ʻAʻole i komo

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 jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
Hoʻokomo ʻia ʻAʻole i komo
bootstrap.js
bootstrap.min.js
ʻAʻole i komo ʻAʻole i komo

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/
|           └── 4.6/
|               └── 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.