mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
wip
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
import {Component, View, bootstrap} from 'angular2/angular2'
|
||||
import {bootstrap} from 'angular2/angular2'
|
||||
import {Nav} from 'ionic/components/nav/nav'
|
||||
import {Log} from 'ionic/util'
|
||||
import {FirstPage} from 'pages/first-page'
|
||||
import {FirstPage} from './pages/first-page'
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
|
||||
@Component({ selector: 'ion-app' })
|
||||
@View({
|
||||
directives: [Nav],
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
this.initial = FirstPage
|
||||
console.log('IonicApp Start');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, View, Parent} from 'angular2/angular2'
|
||||
import {NavController, Toolbar, Content} from 'ionic/ionic'
|
||||
import {SecondPage} from 'pages/second-page'
|
||||
import {SecondPage} from './second-page'
|
||||
|
||||
|
||||
@Component()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, View, Parent} from 'angular2/angular2'
|
||||
import {NavController, Toolbar, Content} from 'ionic/ionic'
|
||||
import {ThirdPage} from 'pages/third-page'
|
||||
import {ThirdPage} from './third-page'
|
||||
|
||||
|
||||
@Component()
|
||||
|
||||
Reference in New Issue
Block a user