mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
14 lines
286 B
JavaScript
14 lines
286 B
JavaScript
import {bootstrap} from 'angular2/core'
|
|
import {Component, Template} from 'angular2/angular2'
|
|
import {Button} from 'ionic2/components/button/button'
|
|
|
|
|
|
@Component({ selector: '[ion-app]' })
|
|
@Template({
|
|
url: 'main.html',
|
|
directives: [Button]
|
|
})
|
|
class IonicApp {}
|
|
|
|
bootstrap(IonicApp)
|