Cov txheej txheem:

Vue puas yuav tsum tau muab sau ua ke?
Vue puas yuav tsum tau muab sau ua ke?

Video: Vue puas yuav tsum tau muab sau ua ke?

Video: Vue puas yuav tsum tau muab sau ua ke?
Video: Hi So - Koj haib 2 (Official MV nkauj tawm tshiab 2019-2020) 2024, Kaum ib hlis
Anonim

vue cov ntaub ntawv yog pre- muab tso ua ke rau hauv JavaScript thaum tsim lub sijhawm. Koj tsis yog tiag xav tau lub compiler nyob rau hauv lub kawg pob, thiab ua tau yog li siv lub sijhawm ua haujlwm nkaus xwb.

Ib yam li ntawd, neeg nug, Vue puas sau ua ke?

vue yog muab tso ua ke mus rau hauv ib pob ntaub ntawv hu ua piv txwv. js ua. Thaum koj tswj hwm koj cov cai ntawm Git, peb xav kom koj ntxiv lub app / pob ntawv rau koj.

Vue JS puas xav tau node? 6 Teb. VueJS app tsis yog NodeJS app. VueJS app yog txhais los ntawm browser. Koj tsuas yog yuav tsum tsim koj lub app hauv computer thiab host cov ntaub ntawv raws li lub vev xaib zoo li qub, yog li txhua tus neeg rau zaub mov tuaj yeem pab html thiab cov ntaub ntawv.

Ntxiv mus, kuv yuav sau li cas Vue project?

Txoj Haujlwm: Tsim Ib Daim Ntawv Thov Nyob Zoo Ntiaj Teb Vue Siv Ib Cov Ntaub Ntawv Ib Leeg

  1. Kauj ruam 1: Tsim qhov project qauv.
  2. Kauj ruam 2: Nruab cov kev vam meej.
  3. Kauj ruam 3: Tsim cov ntaub ntawv (Tshwj tsis yog rau peb cov ntaub ntawv Webpack configuration).
  4. Kauj Ruam 4: Qhia Webpack yuav ua li cas.
  5. Kauj Ruam 5: Kev teeb tsa peb lub pob.
  6. Kauj Ruam 7: Tsim peb qhov project.

Kuv yuav khiav Vue js li cas?

Hauv qab no peb tab tom mus rau Vue -cli los teeb tsa qhov project tshiab thiab nruab tus Vue . js 2 qiv.

js hauv koj qhov project web:

  1. Siv CDN los ntawm kev suav tag hauv HTML cov ntaub ntawv.
  2. Nruab siv Node Package Manager (NPM)
  3. Nruab nrog Bower.
  4. Siv Vue-cli los teeb tsa koj qhov project.

Pom zoo: