必备基础:
html 、css 、js、es6。 typescript 了解更好。
开发工具:
Visual Studio Code
步骤:
1,安装node.js https://nodejs.org/en/
2,安装cnpm
配置国内镜像 npm install -g cnpm --registry=https://registry.npm.taobao.org
3,安装 angular/cli
cnpm install -g @angular/cli 或者 npm install -g @angular/cli
4,创建Angular项目
ng new 项目名称
如果要跳过安装npm i 安装 ng new angulardemo --skip-install
5,开启服务
cd angulardemo
ng serve --open