jone-chen

基本环境安装

首先,确定安装了nodejs与npm,angular 5要求node版本在6.9.x以上、npm版本在 3.x.x以上;

1、安装@angular/cli

npm install -g @angular/cli 
or
yarn global add @angular/cli

2、新建第一个项目

ng new my-app

3、启动服务

cd my-app
ng serve --open

此时,浏览器会打开http://localhost:4200/,即可看到应用;

分类:

技术点:

相关文章:

  • 2022-01-03
  • 2021-10-22
  • 2021-11-05
  • 2021-07-20
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-30
  • 2022-12-23
  • 2021-06-18
  • 2021-11-28
  • 2021-07-17
  • 2021-10-11
  • 2021-09-23
相关资源
相似解决方案