根据命令安装的 demo和课件上的不一样 导致课程不能继续
来源:

慕函数7881054
2016-08-20
就是我的目录里有home contact about 不是page1 page2 page3
三个目录下的js文件也变成了 ts类型的文件
如:tab.ts
import {Component} from '@angular/core';
import {HomePage} from '../home/home';
import {AboutPage} from '../about/about';
import {ContactPage} from '../contact/contact';
import {IonicApp} from 'ionic-angular';
@Component({
templateUrl: 'build/pages/tabs/tabs.html'
})
export class TabsPage {
private tab1Root: any;
private tab2Root: any;
private tab3Root: any;
constructor() {
// this tells the tabs component which Pages
// should be each tab's root Page
this.tab1Root = HomePage;
this.tab2Root = AboutPage;
this.tab3Root = ContactPage;
}
}
导致很简单的初始化选择中那一小段js不能完成
到那个登录的时候 agular js 好像不能用
1回答
-
慕函数7881054
提问者
2016-08-20
http://ionicframework.com/docs/v2/
在官方文档中已有最新的用法
012016-08-20
相似问题