mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
rename src to ionic
This commit is contained in:
20
ionic/components/checkbox/test/basic/main.js
Normal file
20
ionic/components/checkbox/test/basic/main.js
Normal file
@ -0,0 +1,20 @@
|
||||
import {bootstrap} from 'angular2/core';
|
||||
import {Component, Template} from 'angular2/angular2';
|
||||
import {View} from 'ionic2/components/view/view';
|
||||
import {Content} from 'ionic2/components/content/content';
|
||||
import {Icon} from 'ionic2/components/icon/icon';
|
||||
import {Checkbox} from 'ionic2/components/checkbox/checkbox';
|
||||
import {List} from 'ionic2/components/list/list';
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
@Template({
|
||||
url: 'main.html',
|
||||
directives: [View, Content, Icon, Checkbox, List]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start')
|
||||
}
|
||||
}
|
||||
|
||||
bootstrap(IonicApp)
|
Reference in New Issue
Block a user