I want to code a ReactJS component package that one can install via npm. I look over the internet for tutorials and I am now puzzled over the basic setup of the development environment for this project.
I have been through multiple tutorials but none worked for me. I tried working by installing react package-by-package and installing react as whole for making a component package.
Please help. Or share a clear and comprehensive tutorial.
Thanks in advanced.
CodePudding user response:
They seem to explain it quite well here:
https://levelup.gitconnected.com/publish-react-components-as-an-npm-package-7a671a2fb7f
CodePudding user response:
You can refer below URL for more details
https://medium.com/@manaliukatkar/how-to-publish-packages-to-npm-1e85967d238c