mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
27 lines
352 B
TypeScript
27 lines
352 B
TypeScript
import {App, Page} from '../../../../../ionic';
|
|
|
|
|
|
@Page({
|
|
template: `
|
|
<ion-content padding text-center>
|
|
Page be loaded!
|
|
</ion-content>
|
|
`
|
|
})
|
|
class AsyncPage {}
|
|
|
|
|
|
@App({
|
|
template: `<ion-nav [root]="root"></ion-nav>`
|
|
})
|
|
class E2EApp {
|
|
root;
|
|
|
|
constructor() {
|
|
setTimeout(() => {
|
|
this.root = AsyncPage;
|
|
}, 1000);
|
|
|
|
}
|
|
}
|