Cov txheej txheem:

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

Video: Kuv yuav pib qhov project angular hauv Visual Studio 2017 li cas?

Video: Kuv yuav pib qhov project angular hauv Visual Studio 2017 li cas?
Video: Computer Vision with Python! Grayscaling Images 2024, Kaum ib hlis
Anonim
  1. Tsim ib qho Angular Project nrog. NET Core siv Visual Studio 2017 .
  2. Qhib Visual Studio 2017 .
  3. Mus rau Cov Ntaub Ntawv >> Tshiab >> Qhov 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.

Ua li no, kuv yuav ua li cas khiav qhov project angular hauv Visual Studio?

  1. Qhib CMD qhov hais kom ua hauv koj qhov project directory.
  2. Ntaus npm nruab -g @angular/cli.
  3. Ntaus ng tshiab --directory ClientApp thiab tom qab ntawd teb cov lus nug txog seb koj xav kom koj daim ntawv thov Angular teeb tsa li cas.
  4. Hauv Visual Studio 2017 kho cov ntaub ntawv ClientAppangular.
  5. Hauv Visual Studio 2017, kho cov ntaub ntawv ClientApp sconfig.

Kuv yuav pib qhov project angular hauv Visual Studio code li cas? Qhib browser, ntaus code . visualstudio .com/ download, thiab nruab pom code editor. Tsim ib daim nplaub tshev, ANGULAR , ntawm lub desktop lossis koj xaiv. Qhib qhov pom code , nyem rau ntawm File, xaiv Qhib Folder (ctrl + O) ces nyem rau ntawm nws. Tom qab nias rau Qhib Folder lub qhov rais yuav tshwm.

Kuj kom paub yog, 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: