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

error importing ChartistModule #39

Closed
ritz078 opened this issue Sep 21, 2016 · 4 comments
Closed

error importing ChartistModule #39

ritz078 opened this issue Sep 21, 2016 · 4 comments
Assignees

Comments

@ritz078
Copy link

ritz078 commented Sep 21, 2016

using ChartistComponent is working fine but if I try to import ChartistModule, there's error on console. I have to use chartist in multiple modules so can't import the component.

screen shot 2016-09-21 at 5 39 40 pm

@willsoto
Copy link
Owner

I'll take a look, thanks for the report.

@willsoto willsoto self-assigned this Sep 21, 2016
@ritz078
Copy link
Author

ritz078 commented Sep 21, 2016

its because ChartComponent is not exported from module. Adding

exports: [
    ChartistComponent
  ]

to chartist.module fixes this.

@willsoto
Copy link
Owner

Great thank you! I'll probably fix this tonight, feel free to submit a PR if you need it urgently though.

@willsoto
Copy link
Owner

This should be available on 0.9.2. Thanks for the report.

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