Cov txheej txheem:

Kuv yuav qhib React Project hauv Visual Studio li cas?
Kuv yuav qhib React Project hauv Visual Studio li cas?

Video: Kuv yuav qhib React Project hauv Visual Studio li cas?

Video: Kuv yuav qhib React Project hauv Visual Studio li cas?
Video: [HD] Kristine Xiong Lub Sijhawm with Lyrics 2024, Kaum ib hlis
Anonim

Qhib Visual Studio 2017, ntaus Ctrl + Ua haujlwm + N thiab xaiv ASP. NET Core Web Application (. NET Core) qhov project ntaus los ntawm cov templates. Thaum koj nias Ok, koj yuav tau txais cov lus qhia nram qab no. Xaiv ASP. NET Core 2.2 thiab xaiv qhov Teb tus qauv.

Ib sab ntawm no, kuv yuav qhib qhov project hauv react JS li cas?

Challenge Overview

  1. Kauj Ruam 1: - Kev teeb tsa ib puag ncig. Nruab Node.
  2. Kauj ruam 2: Tsim cov ntaub ntawv qhov project.
  3. Kauj ruam 3: Kho lub webpack thiab babel.
  4. Kauj ruam 4: Hloov tshiab package.json.
  5. Kauj ruam 5: Tsim cov ntaub ntawv Index.html.
  6. Kauj ruam 6: Tsim React tivthaiv nrog JSX.
  7. Kauj ruam 7: Khiav koj (nyob zoo ntiaj teb) app.

Ib yam li ntawd, NPX vs NPM yog dab tsi? npx feem ntau yog siv los khiav scripts nyob rau hauv./node_modules/. bin, tab sis nws muaj ob peb lwm yam kev siv, suav nrog kev khiav cov lus txib los ntawm ib qho tshwj xeeb ntawm ib pob, whereas npm yog rau kev txhim kho pob khoom lawv tus kheej. Yog tias koj nyob ntawm linux lossis mac, ntaus tus txiv neej npx i koj yuav pom cov ntaub ntawv ntawm nws siv.

Ib tug kuj yuav nug, Kuv yuav ua li cas thiaj li khiav React Project hauv Visual Studio?

Qhib Visual Studio 2017, ntaus Ctrl + Ua haujlwm + N thiab xaiv ASP. NET Core Web Application (. NET Core) qhov project ntaus los ntawm cov templates. Thaum koj nias Ok, koj yuav tau txais cov lus qhia nram qab no. Xaiv ASP. NET Core 2.2 thiab xaiv qhov Teb tus qauv.

Puas yog JQuery tuag?

Tsis yog, tsis yog. Nws tseem ciaj sia vim nws tseem nyob ntawm ntau lub vev xaib thiab plugins. Tab sis qhov sib txawv yog poob. Tsis tas li ntawd, hauv 2019, JQuery Nws tsis yog qhov tsim nyog vim tias Javascript browser txhawb nqa zoo ib yam li yav dhau los.

Pom zoo: