angular6 创建命令
$ ng g module ./mans/mans --routing --flat # 创建路由和 module
CREATE src/app/account/mans/mans-routing.module.ts (247 bytes)
CREATE src/app/account/mans/mans.module.spec.ts (259 bytes)
CREATE src/app/account/mans/mans.module.ts (271 bytes)
$ ng g component edit-manager #创建组件
CREATE src/app/account/manager/edit-manager/edit-manager.component.html (31 bytes)
CREATE src/app/account/manager/edit-manager/edit-manager.component.spec.ts (664 bytes)
CREATE src/app/account/manager/edit-manager/edit-manager.component.ts (293 bytes)
CREATE src/app/account/manager/edit-manager/edit-manager.component.scss (0 bytes)
UPDATE src/app/account/manager/manager.module.ts (938 bytes)
$ ng g service manager # 创建服务
上一篇: 语言学习相关(英语、日语)
下一篇: 语言学习相关(英语、日语)