Cov txheej txheem:

Polymer JS ua haujlwm li cas?
Polymer JS ua haujlwm li cas?

Video: Polymer JS ua haujlwm li cas?

Video: Polymer JS ua haujlwm li cas?
Video: Nkauj mim pw zov kwj ntxas 1/29/2020 2024, Kaum ib hlis
Anonim

Nrog Polymer . js , koj ua tau tsim koj tus kheej cov ntsiab lus HTML thiab sau lawv ua tiav, cov vev xaib nyuaj uas yog scalable thiab tuav tau. Nws yog txhua yam hais txog kev tsim tshiab (piv txwv li, kev cai) cov ntsiab lus uas ua tau tom qab ntawd rov qab siv dua hauv koj cov nplooj ntawv HTML hauv txoj kev tshaj tawm, tsis tas yuav paub lossis nkag siab lawv cov khoom sab hauv.

Ib yam li ntawd, lub moj khaum polymer yog dab tsi?

Polymer yog ib lub tsev qiv ntawv JavaScript qhib rau kev tsim web applications siv Web Components. Lub tsev qiv ntawv tau tsim los ntawm Google cov neeg tsim khoom thiab cov neeg koom tes ntawm GitHub. Cov qauv tsim niaj hnub no tau siv los ua ib txoj haujlwm tshwj xeeb uas siv Google Cov Qauv Tsim Cov Qauv Tsim Qauv.

Tsis tas li ntawd, puas yog Google polymer tuag? Polymer yog tuag , nyob ntev Web Cheebtsam! Txog rau xyoo tas los, koj tsis tuaj yeem nqa Web Components yam tsis tau hais txog Polymer . Polymer muab ib txoj hauv kev yooj yim ntawm kev tsim cov ntsiab lus kev cai rau koj daim ntawv thov web.

Google polymer siv rau dab tsi?

Polymer yog ib lub tsev qiv ntawv JavaScript siv rau tsim web applications siv Web Components. Tam sim no, koj tuaj yeem xav txog Web Cheebtsam ua cov khoom siv rov siv tau uas tuaj yeem ua tau siv hauv cov nplooj ntawv web lossis web apps. Qhov ntawd txhais tau tias koj tuaj yeem ua tau siv nws nrog lwm cov tsev qiv ntawv JavaScript.

Yuav ua li cas koj ua ib qhov project polymer?

Teeb tsa qhov project app yooj yim

  1. Tsim ib daim ntawv teev npe rau koj qhov project app. mkdir app cd.
  2. Pib koj lub app. Polymer CLI nug koj ob peb nqe lus nug thaum nws teeb tsa koj lub app.
  3. Xaiv cov polymer-2-application.
  4. Sau lub npe rau koj lub app.
  5. Sau lub npe rau lub ntsiab tseem ceeb hauv koj qhov project.
  6. Sau cov lus piav qhia rau koj lub app.

Pom zoo: