Skip to content

Commit 0f6ce28

Browse files
ramonorneladanbucholtz
authored andcommitted
fix(templates): add template tabs #8207 (#8208)
1 parent d8ecf16 commit 0f6ce28

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

scripts/templates/tabs/html.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<ion-tabs>
2+
$TAB_CONTENT
3+
</ion-tabs>

scripts/templates/tabs/scss.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.$FILENAME {
2+
3+
}

scripts/templates/tabs/ts.tmpl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Component } from '@angular/core';
2+
import { NavController } from 'ionic-angular';
3+
$TAB_IMPORTS
4+
5+
@Component({
6+
templateUrl: '$FILENAME.html'
7+
})
8+
export class $CLASSNAME {
9+
10+
$TAB_VARIABLES
11+
12+
constructor(public navCtrl: NavController) {}
13+
}

0 commit comments

Comments
 (0)