mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
24 lines
335 B
TypeScript
24 lines
335 B
TypeScript
import {App, IonicApp, IonicView, NavController} from 'ionic/ionic';
|
|
|
|
|
|
@IonicView({
|
|
templateUrl: 'home-page.html'
|
|
})
|
|
class HomePage {
|
|
constructor(app: IonicApp) {
|
|
this.app = app;
|
|
}
|
|
}
|
|
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class E2EApp {
|
|
|
|
constructor(app: IonicApp) {
|
|
this.app = app;
|
|
this.rootView = HomePage;
|
|
}
|
|
}
|