Bower_components yog dab tsi?
Bower_components yog dab tsi?

Video: Bower_components yog dab tsi?

Video: Bower_components yog dab tsi?
Video: Top 10 Most Popular Courses on Udemy For Free 2024, Kaum ib hlis
Anonim

Bower yog tus thawj tswj hwm pob hauv pem hauv ntej tsim los ntawm Twitter. Kuj tseem hu ua Tus Thawj Saib Xyuas Pob rau Lub Vev Xaib, bower yog siv nyob rau hauv niaj hnub qhib qhov chaw thiab kaw qhov project los daws ntau yam teeb meem rov tshwm sim.

Ib yam li ntawd, Bower Cheebtsam yog dab tsi?

Bower tuaj yeem tswj tau cov khoom uas muaj HTML, CSS, JavaScript, fonts lossis cov ntaub ntawv duab. Bower tsis concatenate los yog minify code los yog ua lwm yam - nws tsuas yog installs txoj cai versions ntawm lub pob khoom koj xav tau thiab lawv dependencies.

Tom qab ntawd, lo lus nug yog, dab tsi yog Bower hauv angular? Bower yog tus thawj tswj pob rau lub vev xaib. Rau nruab lub kaum sab xis , bower nruab lub kaum sab xis . Angular yog rub los ntawm github. Peb tau txais bower_components directory nrog lub kaum sab xis hauv nws.

Ib yam li ntawd, puas tseem siv Bower?

Tsis yog, lawv yog tam sim no. Lawv nyob deb ntawm cov cuab yeej nrov tshaj plaws, thiab tau ua rau qee lub sijhawm. Hais tias yog, yog bower ua haujlwm (lossis yuav ua haujlwm) rau koj qhov project, tsis muaj laj thawj tsis siv nws. Nws yog tseem ua haujlwm tau zoo thiab yuav zoo nyob li ntawd rau qee lub sijhawm.

Yuav ua li cas koj ntxiv Bower Cheebtsam rau ib qhov project?

Rau ntxiv ib new Bower pob rau koj qhov project koj siv lub nruab lus txib. Qhov no yuav tsum dhau lub npe ntawm pob khoom koj xav tau nruab . Raws li kev siv lub npe pob, koj tuaj yeem ua tau nruab ib pob los ntawm kev qhia ib qho ntawm cov hauv qab no: A Git endpoint xws li git://github.com/ cov khoom /jquery.git.

Pom zoo: