san*_*eep 5 naming-conventions angular-cli angular
似乎当我使用angular cli通过此命令和组件名称生成组件,服务等时
ng g component myApp
Run Code Online (Sandbox Code Playgroud)
它生成组件文件夹和其他文件,例如
my-app.component.ts
而是myapp.component.ts
我的问题是,是否有任何使用camelCase名称生成组件,服务等的命令。
我为此进行了研究,但没有任何效果。
Angular Style Guide 明确指出my-app.component.ts用于文件名。
参考:https : //angular.io/guide/glossary
| 归档时间: |
|
| 查看次数: |
3145 次 |
| 最近记录: |