angular6安装

 

中文node

https://www.angular.cn/      python

 

2、下载git

1.安装 node.jsweb

https://nodejs.org/en/typescript

2.删除老angular-clinpm

npm uninstall -g angular-cli浏览器

npm uninstall -g @angular/clispa

npm cache clean    ||  npm cache verifyblog

Delete the C:\Users\name\AppData\Roaming\npm\node_modules\@angular folder.coffeescript

3.安装 

npm install -g typescript

4.安装

python3

5.安装

git

6.安装angular

npm i -g @angular/cli@latest

 

 

 7.新建一个angular工程

ng  new webReading    会安装下载 node_modules  300M左右    --须要科技

 

ng new webReading --skip-install  忽略node_modules

 

 8.运行

cmd 进入新建工程的根目录 

ng serve --open

 

自动弹出默认浏览器   http://localhost:4200/

相关文章
相关标签/搜索