1、使用的是Windows + vs code 1.40
vs版本查看
2、安装好node
使用以下命令查看node版本:
node -v
3、安装 cli 工具
npm install -g @angular/cli
![](https://img.haomeiwen.com/i6310069/0cc9129943bb995b.png)
使用
ng new hello-world
新建一个项目,名称为 hello-world:
![](https://img.haomeiwen.com/i6310069/6276097cdad5d2f7.png)
此处我选择的scss格式的样式文件格式。
![](https://img.haomeiwen.com/i6310069/1c43ce0d8e87de9e.png)
![](https://img.haomeiwen.com/i6310069/8515a7d3742e2bfb.png)
![](https://img.haomeiwen.com/i6310069/5cad737c6f3a02d0.png)
![](https://img.haomeiwen.com/i6310069/67a929520705cffb.png)
![](https://img.haomeiwen.com/i6310069/f44c694086a185f0.png)
遇到问题了:
![](https://img.haomeiwen.com/i6310069/132816c4c639f21c.png)
换个浏览器正常打开:
![](https://img.haomeiwen.com/i6310069/9e844b8c73e08cb7.png)
说明问题应该出在浏览器插件上
1、使用的是Windows + vs code 1.40
vs版本查看
2、安装好node
使用以下命令查看node版本:
node -v
3、安装 cli 工具
npm install -g @angular/cli
使用
ng new hello-world
新建一个项目,名称为 hello-world:
此处我选择的scss格式的样式文件格式。
遇到问题了:
换个浏览器正常打开:
说明问题应该出在浏览器插件上
本文标题:2019-11-24 记录学习angular 开始
本文链接:https://www.haomeiwen.com/subject/hnnrwctx.html
网友评论