如何使用Angular Generator创建新的Component
右键选择app文件夹,选择Angular Generator->Component:
下图是新生成的component:
app.module.ts也自动添加了product-alerts Component对应的代码:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
右键选择app文件夹,选择Angular Generator->Component:
下图是新生成的component:
app.module.ts也自动添加了product-alerts Component对应的代码:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":