Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
in English

Enza ngendlela oyifisayo

Funda indlela yokwenza itimu, ukwenza ngendlela oyifisayo, nokunweba i-Bootstrap nge-Sass, isikebhe esinezinketho zomhlaba wonke, isistimu yombala enwetshiwe, nokuningi.

Uhlolojikelele

Kunezindlela eziningi zokwenza i-Bootstrap ngokwezifiso. Indlela yakho engcono kakhulu ingancika kuphrojekthi yakho, inkimbinkimbi yamathuluzi akho okwakha, inguqulo ye-Bootstrap oyisebenzisayo, usekelo lwesiphequluli, nokuningi.

Izindlela zethu ezimbili ezithandwayo yilezi:

  1. Ukusebenzisa i-Bootstrap ngomphathi wephakheji ukuze ukwazi ukusebenzisa futhi wandise amafayela wethu womthombo.
  2. Ukusebenzisa amafayela okusabalalisa ahlanganisiwe e-Bootstrap noma i-jsDelivr ukuze ukwazi ukwengeza noma ukubhala phezu kwezitayela ze-Bootstrap.

Yize singeke singene emininingwaneni lapha yokuthi usetshenziswa kanjani umphathi wephakeji, singanikeza isiqondiso esithile ngokusebenzisa i-Bootstrap nge-Sass compiler yakho .

Kulabo abafuna ukusebenzisa amafayela okusabalalisa, buyekeza ikhasi lokuqala ukuthi ungawafaka kanjani lawo mafayela kanye nesibonelo sekhasi le-HTML. Ukusuka lapho, bheka amadokhumenti mayelana nesakhiwo, izingxenye, nokuziphatha ongathanda ukukusebenzisa.

Njengoba uzijwayeza nge-Bootstrap, qhubeka uhlole lesi sigaba ukuze uthole imininingwane eyengeziwe mayelana nendlela yokusebenzisa izinketho zethu zomhlaba wonke, ukusebenzisa nokushintsha isistimu yethu yombala, ukuthi sizakha kanjani izingxenye zethu, indlela yokusebenzisa uhlu lwethu olukhulayo lwezakhiwo ngokwezifiso ze-CSS, nokuthi kanjani ukuze uthuthukise ikhodi yakho lapho wakha nge-Bootstrap.

Ama-CSP nama-SVG ashumekiwe

Izingxenye ezimbalwa ze-Bootstrap zifaka phakathi ama-SVG ashumekiwe ku-CSS yethu ukuze enze izingxenye zesitayela ngokungashintshi futhi kalula kuzo zonke iziphequluli namadivayisi. Ezinhlanganweni ezinokucushwa okuqine kakhulu kwe - CSP , sibhale zonke izenzakalo zama-SVG ethu ashumekiwe (wonke asetshenziswa ngokusebenzisa background-image) ukuze ubuyekeze ngokucophelela izinketho zakho.

Ngokusekelwe engxoxweni yomphakathi , ezinye izinketho zokubhekana nalokhu ku-codebase yakho siqu zihlanganisa ukufaka esikhundleni sama-URL amafa aphethwe endaweni, ukususa izithombe nokusebenzisa izithombe ezingaphakathi komugqa (akunakwenzeka kuzo zonke izingxenye), kanye nokulungisa i-CSP yakho. Isincomo sethu ukuthi ubuyekeze ngokucophelela izinqubomgomo zakho zokuphepha futhi unqume indlela engcono kakhulu eya phambili, uma kunesidingo.