mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(build): tabs template corrections
tabs template corrections
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
<ion-tabs>
|
||||
$TAB_CONTENT
|
||||
$TAB_CONTENT
|
||||
</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';
|
||||
$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({
|
||||
templateUrl: '$FILENAME.html'
|
||||
})
|
||||
export class $CLASSNAME {
|
||||
|
||||
$TAB_VARIABLES
|
||||
$TAB_VARIABLES
|
||||
|
||||
constructor(public navCtrl: NavController) {}
|
||||
}
|
Reference in New Issue
Block a user