chore(templates): update tabs templates for 3.0

This commit is contained in:
Daniel Imhoff
2017-03-15 15:15:41 -05:00
parent 305848274d
commit 06b388bb68
4 changed files with 18 additions and 20 deletions

View File

@ -7,7 +7,7 @@ import { IonicModule } from 'ionic-angular';
$CLASSNAME,
],
imports: [
IonicModule.forChild($CLASSNAME)
IonicModule.forChild($CLASSNAME),
],
entryComponents: [
$CLASSNAME,

View File

@ -1,17 +1,17 @@
import { NgModule } from '@angular/core';
import { $CLASSNAMEPage } from './$FILENAME';
import { $CLASSNAME } from './$FILENAME';
import { IonicModule } from 'ionic-angular';
@NgModule({
declarations: [
$CLASSNAMEPage,
$CLASSNAME,
],
imports: [
IonicModule.forChild($CLASSNAMEPage)
IonicModule.forChild($CLASSNAME),
],
entryComponents: [
$CLASSNAMEPage
$CLASSNAME,
],
providers: []
})
export class $CLASSNAMEPageModule {}
export class $CLASSNAMEModule {}

View File

@ -1,5 +1,4 @@
describe('$CLASSNAMEPage', () => {
describe('$CLASSNAME', () => {
it('should do something', () => {
expect(true).toEqual(true);
});

View File

@ -1,22 +1,21 @@
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { DeepLink, NavController } from 'ionic-angular';
/*
Generated class for the $CLASSNAME tabs.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers and Angular 2 DI.
*/
/**
* Generated class for the $CLASSNAME tabs.
*
* See https://angular.io/docs/ts/latest/guide/dependency-injection.html for
* more info on providers and Angular DI.
*/
@Component({
selector: 'page-$FILENAME',
templateUrl: '$FILENAME.html'
})
export class $CLASSNAMEPage {
@DeepLink()
export class $CLASSNAME {
$TAB_VARIABLES
constructor(public navCtrl: NavController) {
constructor(public navCtrl: NavController) {}
}
}
}