-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
There is no directive with "exportAs" set to "bs-modal" error #1087
Comments
Sounds like #1027 ? |
@Martin-Wegner Ah, I've already seen other posts regarding the 'exportAs' error but not that one. I did import de ModalModule into the app.module.ts, but not in the childModule. Thank you for the reference |
have the exactly same thins as @jatin-optimus ... |
I fixed mine, on tests you have to import the module as well
|
it's working fine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
I've just installed this plug-in, added the 'hack' in the app.component.ts as described. Imported the ModalModule from 'ng2-bootstrap/ng2-bootstrap' (also tried 'ng2-bootstrap/components/modal').
Now I am trying to setup an modal like described in the installation notes:
http://valor-software.com/ng2-bootstrap/index-bs4.html#/modals#markup
(just copy pasted one)
But then i get this error:
I am using
angular 2.0.1
ng2-bootstrap 1.1.8
Am I doing something wrong, or is this a bug? Help is much appreciated :)
The text was updated successfully, but these errors were encountered: