Reputation: 161
Basically I want to
Because I want to create a common component library for different react applications.
Please let me know if that makes sense.
Upvotes: 14
Views: 2721
Reputation: 3043
Of course you can.
Creating a package is possible and even recommended if you want to reuse it in different applications or publish it.
Most of the packages are using another packages (called dependencies
) and sometimes building new components on top of these packages' components. You can read more about dependencies here..
Packages with MIT License
allows Modification
as well.
More information about creating NodeJS
modules can be found here.
And finally, if you are willing to publish the package in NPM
, follow this.
Upvotes: 3