mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
20 lines
566 B
JavaScript
20 lines
566 B
JavaScript
import {Component, View as NgView, bootstrap} from 'angular2/angular2';
|
|
import {View} from 'ionic/components/view/view';
|
|
import {Content} from 'ionic/components/content/content';
|
|
import {Icon} from 'ionic/components/icon/icon';
|
|
import {Checkbox} from 'ionic/components/checkbox/checkbox';
|
|
import {List} from 'ionic/components/list/list';
|
|
|
|
@Component({ selector: '[ion-app]' })
|
|
@NgView({
|
|
templateUrl: 'main.html',
|
|
directives: [View, Content, Icon, Checkbox, List]
|
|
})
|
|
class IonicApp {
|
|
constructor() {
|
|
console.log('IonicApp Start')
|
|
}
|
|
}
|
|
|
|
bootstrap(IonicApp)
|