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

Can't import react components from npm package #106

Open
benabel opened this issue May 8, 2020 · 0 comments
Open

Can't import react components from npm package #106

benabel opened this issue May 8, 2020 · 0 comments

Comments

@benabel
Copy link

benabel commented May 8, 2020

Hi, I've used the excellent dash_daq components in dash apps, however I have a pure react project in which I would like to use these components.

I tried to import it after npm import dash-daq but I have an eroor because the index file doesn't export the components.

I successfully used them downloading the src directory and then importing components from this directory.

My question is would it be possible to publish a version of dash-daq react components to npm to use them independently of dash if you just need a client side app.

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

1 participant