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,13 +1,9 @@
|
||||
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 {Switch} from 'ionic2/components/switch/switch';
|
||||
import {List} from 'ionic2/components/list/list';
|
||||
import {Component, View as NgView, bootstrap} from 'angular2/angular2';
|
||||
import {View, Content, Switch, List} from 'ionic/components';
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
@Template({
|
||||
url: 'main.html',
|
||||
@NgView({
|
||||
templateUrl: 'main.html',
|
||||
directives: [View, Content, Switch, List]
|
||||
})
|
||||
class IonicApp {
|
||||
|
||||
Reference in New Issue
Block a user