demo-ui-library
demo-ui-library copied to clipboard
When i install the npm package on a react app, the components do not get imported
The components are there. And I can view them in Storybook. But when I import the package locally on my system into a React page or install it from npm, the app doesn't seem to find the components.
Can I work on this issue?
Yes @VishalMyla , you can go ahead to work on it. Thank you. And please give it a star if you can.
I managed to resolve the issue by replacing all occurrences of
export * from "./components";
with
import { Button } from "./components";
export { Button };
Does this make sense? Also, thanks for the library!
Hi @DavidRGz, I hope it works. Let me try it out