Skip to content

Commit d04650c

Browse files
committed
chore(templates): update component templates
1 parent 4b9f673 commit d04650c

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
<!--
2-
Generated template for the $CLASSNAME component.
3-
4-
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
5-
for more info on Angular 2 Components.
6-
-->
1+
<!-- Generated template for the $CLASSNAME component -->
72
<div>
83
{{text}}
94
</div>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { NgModule } from '@angular/core';
2-
import { $CLASSNAMEComponent } from './$FILENAME';
2+
import { $CLASSNAME } from './$FILENAME';
33
import { IonicModule } from 'ionic-angular';
44

55
@NgModule({
66
declarations: [
7-
$CLASSNAMEComponent,
7+
$CLASSNAME,
88
],
99
imports: [
10-
IonicModule.forChild($CLASSNAMEComponent)
10+
IonicModule.forChild($CLASSNAME),
1111
]
1212
})
13-
export class $CLASSNAMEComponentModule {}
13+
export class $CLASSNAMEModule {}

scripts/templates/component/ts.tmpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { Component } from '@angular/core';
22

3-
/*
4-
Generated class for the $CLASSNAME component.
5-
6-
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
7-
for more info on Angular 2 Components.
8-
*/
3+
/**
4+
* Generated class for the $CLASSNAME component.
5+
*
6+
* See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
7+
* for more info on Angular Components.
8+
*/
99
@Component({
1010
selector: '$FILENAME',
1111
templateUrl: '$FILENAME.html'
1212
})
13-
export class $CLASSNAMEComponent {
13+
export class $CLASSNAME {
1414

1515
text: string;
1616

0 commit comments

Comments
 (0)