Cov txheej txheem:

Kuv yuav ua li cas thawj AngularJS daim ntawv thov hauv Visual Studio?
Kuv yuav ua li cas thawj AngularJS daim ntawv thov hauv Visual Studio?

Video: Kuv yuav ua li cas thawj AngularJS daim ntawv thov hauv Visual Studio?

Video: Kuv yuav ua li cas thawj AngularJS daim ntawv thov hauv Visual Studio?
Video: kev hlub mob siab tiam twg mam tau koj #15 2024, Kaum ib hlis
Anonim

Teeb tsa AngularJS Qhov project hauv Visual Studio

Ua ntej , tsim qhov project tshiab los ntawm txhaj rau New Project txuas ntawm nplooj ntawv pib. Qhov no yuav qhib New Project dialog box, raws li qhia hauv qab no. Xaiv lub Web nyob rau sab laug pane thiab ASP. NET Web Daim ntawv thov nyob rau hauv nruab nrab pane thiab ces nias OK

Tib neeg kuj nug, Kuv yuav ua li cas thiaj tsim tau daim ntawv thov angular hauv Visual Studio code?

Pib nrog Node. js, Angular, thiab Visual Studio Code

  1. Qhib PowerShell hauv hom admin. Nruab Angular CLI:
  2. Coj mus rau hauv daim nplaub tshev uas koj xav ua koj lub angular app. Kuv mus rau kuv tus C: /
  3. cd rau hauv koj daim ntawv teev npe tshiab app uas koj nyuam qhuav tsim, hauv qhov no.
  4. Tsim app thiab pib server.
  5. Qhib Visual Studio Code.
  6. Nyem rau ntawm Cov Ntaub Ntawv, Qhib Folder.
  7. Qhib cov nplaub tshev uas koj tsim.
  8. pob.

Ib tug kuj yuav nug, angular txoj kev loj hlob ib puag ncig teeb tsa li cas? Yuav teeb tsa qhov chaw loj hlob li cas rau Angular 7

  1. Nov yog cov npe ntawm cov cuab yeej peb yuav tsum tau nruab:
  2. Kauj ruam 1: Nruab Visual Studio Code.
  3. Kauj ruam 2: Nruab Node.
  4. Kauj ruam 3: Node Package Manager (NPM)
  5. Kauj ruam 4: Nruab Angular CLI.
  6. Qhib Visual Studio Code thiab ntawm lub vijtsam hauv tsev, nkag mus rau Ctrl +~ txhawm rau qhib lub davhlau ya nyob twg.
  7. Kauj ruam 2: Hauv VS Code integrated davhlau ya nyob twg nkag.

Raws li txoj cai, Kuv yuav ntxiv AngularJS rau Visual Studio li cas?

Cov kauj ruam rau Ntxiv AngularJS

  1. Qhib Visual Studio 2017.
  2. Qhib koj qhov project khoob tam sim no.
  3. Peb yuav ntxiv AngularJS tsab ntawv thiab txhawb cov ntaub ntawv.
  4. NuGet-Solution qhov rai yuav qhib.
  5. Xaiv AngularJS zoo li hauv qab screenshot thiab xaiv lub thawv kos rau sab xis.
  6. Nws yuav siv sij hawm ob peb feeb ntxiv AngularJS rau peb qhov project.

Kuv yuav qhib qhov project angular hauv Visual Studio 2019 li cas?

Tam sim no, qhib tus Visual Studio 2019 saib ua ntej thiab tsim ASP. NET Core 3.0 app . Xaiv lub ASP. NET Core Web Application template. Thaum koj nias Ok, koj yuav tau txais cov lus qhia nram qab no. Xaiv ASP. NET Core 3.0 (kom paub tseeb tias ASP. NET Core 3.0 raug xaiv) thiab xaiv qhov Angular tus qauv.

Pom zoo: