Kagula
Mar-5-2023
Introduction
Angular is a front-end framework, here we will build our first angular project in visual studio 2022.
Environment
- Microsoft Windows [version 10.0.19044.2604]
- Visual Studio Community 2022 [version 17.5.0]
- Angular CLI: 15.2.1
- Node: 18.14.2
- Package Manager: npm 9.5.0
Content
Step1, install NodeJS
Download Node-v18.14.2-x64.msi from nodejs.org and install it in the default setting, the default install directory is "C:\Program Files\nodejs\".
Use The Taobao image if you in the great wall.
npm install -g cnpm --registry=https://registry.npmmirror.com
Check the version of NPM
npm --version
Step2, install TypeScript and Angular CLI
npm in