mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
upgrade angular
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import {Aside} from 'ionic2/components/aside/aside';
|
||||
import {Content} from 'ionic2/components/content/content';
|
||||
import {View} from 'ionic2/components/view/view';
|
||||
import {Template, Component, bootstrap} from 'angular2/angular2';
|
||||
import {Aside, Content, View} from 'ionic/ionic';
|
||||
import {View as NgView, Component, bootstrap} from 'angular2/angular2';
|
||||
|
||||
@Component({
|
||||
selector: '[ion-app]'
|
||||
})
|
||||
@Template({
|
||||
@NgView({
|
||||
directives: [Aside, Content, View],
|
||||
url: 'main.html'
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class App {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user