Skip to content

Commit

Permalink
fix(module: codebox): fix StackBlitz with dynamic component (NG-ZORRO#41
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Guoyuanqiang authored and 3fuyu committed Oct 13, 2018
1 parent 4a89b0c commit 8adcbb0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdMobileModule } from 'ng-zorro-antd-mobile';
import { NgZorroAntdMobileModule, ModalComponent, ToastComponent, ActionSheetComponent } from 'ng-zorro-antd-mobile';
import { ${this.nzComponentName} } from './app.component';
Expand All @@ -340,7 +340,8 @@ registerLocaleData(en);
@NgModule({
imports: [ BrowserModule, FormsModule, HttpClientModule, ReactiveFormsModule, NgZorroAntdMobileModule.forRoot(), BrowserAnimationsModule ],
declarations: [ ${this.nzComponentName} ],
bootstrap: [ ${this.nzComponentName} ]
bootstrap: [ ${this.nzComponentName} ],
entryComponents: [ModalComponent, ToastComponent, ActionSheetComponent]
})
export class AppModule { }
`,
Expand Down

0 comments on commit 8adcbb0

Please sign in to comment.