DEV Community

Discussion on: How to Create and Publish a React Component Library

Collapse
 
keentdev profile image
Keanu Kent B. Gargar

Once you used "npm link" on your component library, also make sure to include that linked npm on your main app by using "npm link NAME_OF_YOUR_COMPONENT_PACKAGE", name is indicated on your component library' package.json name.

Some comments have been hidden by the post's author - find out more