mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
19 lines
329 B
JavaScript
19 lines
329 B
JavaScript
import {Component, View as NgView, bootstrap} from 'angular2/angular2'
|
|
import {Nav} from 'ionic/ionic'
|
|
import {SignInPage} from 'pages/sign-in'
|
|
|
|
|
|
@Component({
|
|
selector: '[ion-app]',
|
|
})
|
|
@NgView({
|
|
templateUrl: 'main.html',
|
|
directives: [Nav]
|
|
})
|
|
class App {
|
|
constructor() {
|
|
this.initial = SignInPage
|
|
}
|
|
}
|
|
bootstrap(App)
|