Cov txheej txheem:

Kuv yuav ua li cas thiaj tsim tau qhov project angular 7 hauv Visual Studio 2017?
Kuv yuav ua li cas thiaj tsim tau qhov project angular 7 hauv Visual Studio 2017?

Video: Kuv yuav ua li cas thiaj tsim tau qhov project angular 7 hauv Visual Studio 2017?

Video: Kuv yuav ua li cas thiaj tsim tau qhov project angular 7 hauv Visual Studio 2017?
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla use for? 2024, Kaum ib hlis
Anonim

Nws yuav tsum ntau dua 7

  1. Tam sim no, qhib lub Visual Studio 2017 , ntaus Ctrl + Ua haujlwm + N thiab xaiv ASP. NET Core Web Application (. NET Core) qhov project ntaus los ntawm cov templates.
  2. Cov Visual Studio yuav tsim ib qho ASP. NET Core 2.2 thiab Angular 6 daim ntawv thov.
  3. Rau tsim Angular 7 app, ua ntej rho tawm ClientApp nplaub tshev.

Ib yam li ntawd, kuv yuav ua li cas thiaj tsim tau qhov project angular hauv Visual Studio 2017?

  1. Tsim Angular Project nrog. NET Core siv Visual Studio 2017.
  2. Qhib Visual Studio 2017.
  3. Mus rau Cov Ntaub Ntawv> Tshiab> Project… (Ctrl + Ua haujlwm + N).
  4. Xaiv "ASP. NET Core Web Application".
  5. Kauj ruam 4 - Xaiv Angular Template.
  6. Kauj ruam 5 - Khiav daim ntawv thov.
  7. Txoj kev.
  8. Ntxiv ib qho tshiab tivthaiv manually.

Ib yam li ntawd, kuv yuav ua li cas khiav qhov project angular hauv Visual Studio? 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.

Hais txog qhov no, kuv yuav ua li cas thiaj tsim tau qhov project angular hauv Visual Studio 2019?

Tam sim no, qhib lub Visual Studio 2019 saib ua ntej thiab tsim lub 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 ( ua paub meej ASP. NET Core 3.0 raug xaiv) thiab xaiv qhov Angular tus qauv.

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

Txhawm rau khiav daim ntawv thov angular no nrog Visual Studio 2017, peb yuav tsum tau ua ob peb qhov kev hloov pauv

  1. Ua ntej, kho qhov.
  2. Tom ntej no, qhib angular.
  3. Tom ntej no, qhib Startup.
  4. Tom ntej no, rho tawm "launchUrl": "api/values" los ntawm Properties/launchSettings.
  5. Thaum kawg, tsim daim ntawv thov hauv Visual Studio thiab khiav lub app.

Pom zoo: