mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(build): tabs template corrections
tabs template corrections
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
<ion-tabs>
|
<ion-tabs>
|
||||||
$TAB_CONTENT
|
$TAB_CONTENT
|
||||||
</ion-tabs>
|
</ion-tabs>
|
||||||
|
6
scripts/templates/tabs/spec.ts.tmpl
Normal file
6
scripts/templates/tabs/spec.ts.tmpl
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
describe('$CLASSNAME', () => {
|
||||||
|
it('should do something', () => {
|
||||||
|
expect(true).toEqual(true);
|
||||||
|
});
|
||||||
|
});
|
@ -2,12 +2,18 @@ import { Component } from '@angular/core';
|
|||||||
import { NavController } from 'ionic-angular';
|
import { NavController } from 'ionic-angular';
|
||||||
$TAB_IMPORTS
|
$TAB_IMPORTS
|
||||||
|
|
||||||
|
/*
|
||||||
|
Generated class for the $CLASSNAME provider.
|
||||||
|
|
||||||
|
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
|
||||||
|
for more info on providers and Angular 2 DI.
|
||||||
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: '$FILENAME.html'
|
templateUrl: '$FILENAME.html'
|
||||||
})
|
})
|
||||||
export class $CLASSNAME {
|
export class $CLASSNAME {
|
||||||
|
|
||||||
$TAB_VARIABLES
|
$TAB_VARIABLES
|
||||||
|
|
||||||
constructor(public navCtrl: NavController) {}
|
constructor(public navCtrl: NavController) {}
|
||||||
}
|
}
|
Reference in New Issue
Block a user