mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
import {Component, View as NgView, bootstrap} from 'angular2/angular2'
|
|
import {Button} from 'ionic/components/button/button'
|
|
|
|
|
|
@Component({ selector: '[ion-app]' })
|
|
@NgView({
|
|
templateUrl: 'main.html',
|
|
directives: [Button]
|
|
})
|
|
class IonicApp {}
|
|
|
|
bootstrap(IonicApp)
|