mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
21 lines
588 B
JavaScript
21 lines
588 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 {RadioGroup} from 'ionic/components/radio/radio-group';
|
|
import {RadioButton} from 'ionic/components/radio/radio-button';
|
|
|
|
|
|
@Component({ selector: '[ion-app]' })
|
|
@NgView({
|
|
templateUrl: 'main.html',
|
|
directives: [View, Content, RadioGroup, RadioButton]
|
|
})
|
|
class IonicApp {
|
|
constructor() {
|
|
console.log('IonicApp Start')
|
|
}
|
|
}
|
|
|
|
bootstrap(IonicApp)
|