-
Notifications
You must be signed in to change notification settings - Fork 175
home
bright edited this page Dec 21, 2017
·
4 revisions
-
1、安装node 去官网下载安装:https://nodejs.org/en/download/
-
2、设置npm的全局镜像,指向taobao
npm config set registry https://registry.npm.taobao.org
- 3、克隆项目
git clone --depth=1 https://github.com/stbui/angular-material-app.git
切换到项目目录
cd angular-material-app
安装项目依赖并启动项目
npm install
npm run start
打开你的浏览器,访问
http://127.0.0.1:4200
- 4、安装angular-cli(可选)
npm install -g @angular/cli