mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
18 lines
436 B
JavaScript
18 lines
436 B
JavaScript
import {Component, View, bootstrap} from 'angular2/angular2';
|
|
import {Content} from 'ionic/components/content/content';
|
|
import {Switch} from 'ionic/components/switch/switch';
|
|
import {List} from 'ionic/components/list/list';
|
|
|
|
@Component({ selector: '[ion-app]' })
|
|
@View({
|
|
templateUrl: 'main.html',
|
|
directives: [Content, Switch, List]
|
|
})
|
|
class IonicApp {
|
|
constructor() {
|
|
console.log('IonicApp Start')
|
|
}
|
|
}
|
|
|
|
bootstrap(IonicApp)
|