Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step content not showing #69

Closed
jpngeekudin opened this issue Jul 18, 2022 · 2 comments
Closed

Step content not showing #69

jpngeekudin opened this issue Jul 18, 2022 · 2 comments

Comments

@jpngeekudin
Copy link

Step content is not showing, only showing modal with title and blank body.
I am using ngx-ui-tour-ng-bootstrap@10.1.2

Here is my code

// app.component.ts
this.tour.initialize([
  {
    anchorId: 'processor-create-batch',
    content: 'Create batch for the first time asdasdasdasdasdasdasdasd',
    title: 'Create Batch Ululu',
    route: '/job/home',
  },
  {
    anchorId: 'processor-receive-batch',
    content: 'For receiving batch from farmer',
    title: 'Receive Batch',
    route: '/job/home',
  },
]);
this.tour.start();
// app.modules.ts
@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    NgbModule,
    HttpClientModule,
    BrowserAnimationsModule,
    TourNgBootstrapModule.forRoot(),
  ],
  ...
})

image

@hakimio
Copy link
Owner

hakimio commented Jul 18, 2022

Did you add tour-step-template component like it says in the README: https://hakimio.github.io/ngx-ui-tour/ng-bootstrap/Setup#simple-project

Example code: https://github.com/hakimio/ngx-ui-tour/tree/master/src%2Fapp%2Fng-bootstrap

@jpngeekudin
Copy link
Author

Ah yeah, it's showing after I added tour-step-template component.
Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants