ionic-team / ionic-team/ionic-cli

ionic generate component foo duclicated name

オープン
#2,895 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。