mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(templates): change from deeplink to IonicPage
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { DeepLink, NavController, NavParams } from 'ionic-angular';
|
import { IonicPage, NavController, NavParams } from 'ionic-angular';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated class for the $CLASSNAME page.
|
* Generated class for the $CLASSNAME page.
|
||||||
@ -11,7 +11,7 @@ import { DeepLink, NavController, NavParams } from 'ionic-angular';
|
|||||||
selector: 'page-$FILENAME',
|
selector: 'page-$FILENAME',
|
||||||
templateUrl: '$FILENAME.html',
|
templateUrl: '$FILENAME.html',
|
||||||
})
|
})
|
||||||
@DeepLink()
|
@IonicPage()
|
||||||
export class $CLASSNAME {
|
export class $CLASSNAME {
|
||||||
|
|
||||||
constructor(public navCtrl: NavController, public navParams: NavParams) {}
|
constructor(public navCtrl: NavController, public navParams: NavParams) {}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { DeepLink, NavController } from 'ionic-angular';
|
import { IonicPage, NavController } from 'ionic-angular';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated class for the $CLASSNAME tabs.
|
* Generated class for the $CLASSNAME tabs.
|
||||||
@ -11,7 +11,7 @@ import { DeepLink, NavController } from 'ionic-angular';
|
|||||||
selector: 'page-$FILENAME',
|
selector: 'page-$FILENAME',
|
||||||
templateUrl: '$FILENAME.html'
|
templateUrl: '$FILENAME.html'
|
||||||
})
|
})
|
||||||
@DeepLink()
|
@IonicPage()
|
||||||
export class $CLASSNAME {
|
export class $CLASSNAME {
|
||||||
|
|
||||||
$TAB_VARIABLES
|
$TAB_VARIABLES
|
||||||
|
Reference in New Issue
Block a user