Angular学习笔记

工欲善其事必先利其器,常用的网址:

https://angular.cn/   Angular 中文社区

https://material.angular.io/components     material Design  UI
https://teradata.github.io/covalent/#/     Covalent  UI
https://material.angularjs.org/latest/layout/introduction       Angular JS  Layout Flex布局
http://fontawesome.io/     Font 图标

菜单路由
localhost:4200/#/student / student-info

1、  app-routing.module.ts      path:student   
2、  ./student/student.module 文件夹路径  StudentModule()  export {}  
3、  student.module.ts  ->> declarations: [...routedComponents] 
4、  student-routing.module  export const routedComponents = []


Student-info.component.ts   

@Component{(templateUrl: './student-info.component.html',)}  渲染Html  页面

上面的网址上有完整的例子,有的可以直接copy。

①安装好gnvm,node,配置好运行环境
②新建工作空间,shift+右键,在前文件运行命令。
③一次运行如下命令:
npm config set proxy http://192.168.0.122:1080




npm config set https-proxyhttp://192.168.0.122:1080
再去如下网站按步骤进行:
https://angular.cn/docs/ts/latest/cli-quickstart.html





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值