Cov txheej txheem:

Puas tuaj yeem hnov lus ib txwm khiav ntawm Windows?
Puas tuaj yeem hnov lus ib txwm khiav ntawm Windows?

Video: Puas tuaj yeem hnov lus ib txwm khiav ntawm Windows?

Video: Puas tuaj yeem hnov lus ib txwm khiav ntawm Windows?
Video: Quas Koj Ntxhais Rau Kuv Tub - Cai Hawj Feat. Maiv Xis Vaj「Official MV」 2024, Hlis ntuj nqeg
Anonim

Yog! Qhov ntawd yog React Native Android khiav ntawm Windows !

Tom qab ntawd, puas cuam tshuam ib txwm ua haujlwm ntawm Windows?

Kev teeb tsa React Native ntawm Qhov rai yog qhov nyuaj thiab yuav tsum tau ua tib zoo saib rau ntau qhov txav mus los, txawm tias koj xav kom tau txais cov qauv app thiab khiav ntawm lub emulator. React Native hais kom ua kab interface ( React Native CLI) Java Development Kit (JDK 8 lossis tshiab dua)

Tsis tas li ntawd, puas yog cov neeg nyob ib puag ncig dawb? React Native yog lub platform qhib. Qhov ntawd txhais tau tias tag nrho cov ntaub ntawv ntsig txog cov cuab yeej siv no yog qhib mus ib txhis thiab muaj rau dawb rau txhua tus hauv ReactNative zej zog. Nws muaj txiaj ntsig zoo rau kev siv thev naus laus zis hauv zej zog.

Kuj nug, Kuv yuav teeb tsa cov neeg nyob hauv Windows 10 li cas?

Pib nrog React Native Development forWindows

  1. Kauj Ruam 1: Yam yuavtsum tau kawm uantej. Windows 10: Tam sim no, tsuas yog UniversalWindows Platform (UWP) cov ntawv thov raug txhawb nqa.
  2. Kauj Ruam 2: Pib Pib Koj Qhov Kev Pabcuam Native React. Qhib lub commandprompt: Yeej ces cmd.
  3. Kauj ruam 3: Configure Your Project for Windows Development. UseReactNative 0.41.0 hauv package.json.
  4. Kauj ruam 4: profit!

Kuv yuav pib teb haiv neeg li cas?

Peb yuav tsim peb qhov project thawj zaug los ntawm kev khiav cov lus txib hauv qab no hauv lub davhlau ya nyob twg los ntawm cov ntawv tais ceev tseg uas peb xav tsim lub app

  1. react-native init MySampleApp. Mus rau qhov folder,
  2. cd MySampleApp. khiav cov lus txib kom pib pob, xyuas kom tseeb tias koj pib lub emulator.
  3. react-native pib.
  4. react-native run-android.

Pom zoo: