Boiler plate code for creating a new react npm component.
Boiler plate code for creating a new react npm component.
Just clone this project and start building your npm package for react components.
Now run - npm link - This will link the project with the name you gave
!! Wow now you are done create your npm module !!
Open src/App.js, import and add your component to it.
Run - npm start
open http://localhost:3000
You should be able to see your component rendering on that page.