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

NgModule Documentation not complete/right? #51

Closed
levjad opened this issue Aug 31, 2016 · 2 comments
Closed

NgModule Documentation not complete/right? #51

levjad opened this issue Aug 31, 2016 · 2 comments

Comments

@levjad
Copy link

levjad commented Aug 31, 2016

Maybe I'm missing something but I guess the documentation is wrong. First you should import Component to use the @component Annotation. Then it's always saying that ToasterModule "has no exportet member".

Am I missing something?

@Stabzs
Copy link
Owner

Stabzs commented Aug 31, 2016

You are correct, component would need to be imported as well. I did not add that to the documentation because I didn't want to detract from the actual ngModule inclusions, but apparently that just caused confusion so I will update it.

Make sure you are using the latest version: 0.4.0-rc.5. The previous version had an incorrectly build package.

Finally, please see http://plnkr.co/edit/hkENUhos6q9fhiOHprXO?p=preview for a simple NgModule demo. It should help you get started. If you still have issues importing ToasterModuke, please create a plunker and I'll be happy to take a look.

@Stabzs Stabzs closed this as completed in eebbd01 Sep 2, 2016
@Stabzs
Copy link
Owner

Stabzs commented Sep 6, 2016

@levjad There is a new build, 0.5.1-rc.6 that fixes an improper inclusion in toaster.module. This may also resolve your issue if you are still running into difficulties.

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