ionic-team / ionic-team/ionic-cli
ionic generate component foo duclicated name
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 682
- PR 合并指标
- 30 天内没有已合并 PR
描述
I use ionic generate component foo to create a component ,the folder struct is right but when I open the foo.ts the name is FooComponentComponent
the generate code:
@Component({
selector: 'foo',
templateUrl: 'foo.html'
})
export class FooComponentComponent {
text: string;
constructor() {
console.log('Hello FooComponent Component');
this.text = 'Hello World';
}
}
ionic info:
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 1.3.12
Cordova Platforms : android 6.3.0 browser 5.0.1
Ionic Framework : ionic-angular 2.3.0
System:
Android SDK Tools : 25.2.5
Node : v8.9.0
npm : 5.5.1
OS : Windows 10
Misc:
backend : legacy
贡献指南
评估
这个 Issue 还没有评估数据。