【发布时间】:2017-07-13 15:36:37
【问题描述】:
在http://plnkr.co/edit/ZsoPeE?p=preview 和 http://plnkr.co/edit/WBeRRJyYucLwvckjh5W7?p=preview
你能帮忙调整我的 Master/Detail Plunker 吗?我以为我已经准备好了所有部件,但是因为它会产生白屏而缺少一些东西。
这是我对大师/细节的尝试 http://plnkr.co/edit/7NHIYMA3TUdd5nOkoXyF?p=preview
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { AppComponent } from './app.component';
import { HomePage } from '../pages/home/home';
import { MasterPage } from '../pages/master/master';
import { DetailPage } from '../pages/detail/detail';
import { Sheetsu } from '../providers/sheetsu';
@NgModule({
imports: [ IonicModule.forRoot(AppComponent) ],
declarations: [ AppComponent, HomePage, MasterPage, DetailPage],
entryComponents: [ HomePage, MasterPage, DetailPage ],
bootstrap: [ IonicApp ],
providers: [ Sheetsu ]
})
export class AppModule { }
【问题讨论】:
标签: javascript angular ionic2