ZouYouShun / ngx-hm-carousel

a light carousel for Angular18+, support mobile touch by hammerJs
https://stackblitz.com/edit/stackblitz-starters-nkd5pk?file=src%2Fmain.ts
MIT License
60 stars 10 forks source link

Documentation is incorrect for importing. #1

Closed khadro closed 6 years ago

khadro commented 6 years ago

In your documentation it says:

import { HmCarouselModule } from 'ngx-hm-carousel';

@NgModule({
  imports: [
    HmCarouselModule
  ]
})
export class YourModule {}

But the actual module that gets exported from the node_modules is NgxHmCarouselModule

So the documentation should read

import { NgxHmCarouselModule } from 'ngx-hm-carousel';

@NgModule({
  imports: [
    NgxHmCarouselModule
  ]
})
export class YourModule {}
ZouYouShun commented 6 years ago

thanks for your correction. It has being correct. 💃

.