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

Module not found - Meteor Issues #394

Closed
PolGuixe opened this issue Aug 22, 2016 · 2 comments
Closed

Module not found - Meteor Issues #394

PolGuixe opened this issue Aug 22, 2016 · 2 comments

Comments

@PolGuixe
Copy link

I have started using Storybook and I have some issues with the Meteor packages.

Yes, I use some Meteor packages inside components, such as:
-std:accounts-ui.
-kadira:flowrouter-ssr --> to obtain urls, etc.

Any idea how to solve this issues with modules not being found?

@arunoda
Copy link
Member

arunoda commented Aug 23, 2016

Unfortunately there's no way to do that. That's the intendant behaviour.

You need to write your UI component without those modules. Then use a container to do use those modules and inject.

@arunoda arunoda closed this as completed Aug 23, 2016
@PolGuixe
Copy link
Author

Let's say that if I want the href prop for several links I'll have to generate those in the container using e.g.FlowRouter. Ok got it, altought it can become very cumbersome in many cases.

But if I used React-Router, because it is an npm package, I won't have this issue. Correct?

This issue is mainly related to using meteor packages in ui-components.

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