mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(deep-linking): change to
change to
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'contact-us.html'
|
||||
})
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, NavParams, ToastController, ViewController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, NavParams, ToastController, ViewController } from '../../../../../..';
|
||||
|
||||
import { SomeAppProvider } from '../../services/some-app-provider';
|
||||
import { SomeComponentProvider } from './provider';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-pass-data.html',
|
||||
providers: [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-with-inputs.html'
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Config, DeepLink, NavController, ModalController, ToastController, Platform } from '../../../../../..';
|
||||
import { Config, IonicPage, NavController, ModalController, ToastController, Platform } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, NavParams } from '../../../../../..';
|
||||
import { IonicPage, NavController, NavParams } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-three.html'
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, ActionSheetController, AlertController, DeepLink, ModalController, NavController, ToastController } from '../../../../../..';
|
||||
import { App, ActionSheetController, AlertController, IonicPage, ModalController, NavController, ToastController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, ViewController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'toolbar.html'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user