There is no directive with "exportAs" set to "bsDatepicker

Source: https://github.com/valor-software/ngx-bootstrap/issues/2979

in my case i put BsDatepickerModule.forRoot() in global app.module.ts, but then I forgot to import same module inside of child module as well.
And that was my problem too. Maybe it's also yours.

Không có nhận xét nào:

anti-pattern là gì

  Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...