mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
17 lines
368 B
JavaScript
17 lines
368 B
JavaScript
import {bootstrap} from 'angular2/core';
|
|
import {Component, Template} from 'angular2/angular2';
|
|
import {Aside, AsideParent} from 'ionic2/components';
|
|
|
|
@Component({ selector: '[my-app]' })
|
|
@Template({
|
|
url: 'main.html',
|
|
directives: [Aside, AsideParent]
|
|
})
|
|
class PlaygroundMain {
|
|
constructor() {
|
|
console.log('Playground Start')
|
|
}
|
|
}
|
|
|
|
bootstrap(PlaygroundMain)
|