mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
test(bootstrap): update to use ionicBootstrap
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import {ViewEncapsulation} from '@angular/core';
|
||||
import {App, Page, Picker, NavController} from '../../../../../src';
|
||||
import {Component, ViewEncapsulation} from '@angular/core';
|
||||
import {ionicBootstrap, Picker, NavController} from '../../../../../src';
|
||||
|
||||
|
||||
@Page({
|
||||
@Component({
|
||||
templateUrl: 'main.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
@ -210,12 +210,11 @@ class E2EPage {
|
||||
}
|
||||
|
||||
|
||||
@App({
|
||||
@Component({
|
||||
template: '<ion-nav [root]="root"></ion-nav>'
|
||||
})
|
||||
class E2EApp {
|
||||
root;
|
||||
constructor() {
|
||||
this.root = E2EPage;
|
||||
}
|
||||
root = E2EPage;
|
||||
}
|
||||
|
||||
ionicBootstrap(E2EApp);
|
||||
|
Reference in New Issue
Block a user