四、Angular新建组件和使用

1.  新建组件命令 ng component 组件路径

2.组件 ts 文件详解

3.组件会自动引入到app.mudule.ts里面

4.组件的使用

猜你喜欢

转载自www.cnblogs.com/jtfr/p/10164830.html