Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tips on creating a component library for angular/react components

I'm trying to head up a potential project at work that would require our company to use components for our projects so that our products will have universal look/functionality to our brand. The main caveat is how do I manage this in such a way that updates/changes to components in the library automatically apply to all projects using them? Any basic tips on this would be very appreciated.

like image 491
the chad Avatar asked Dec 04 '17 19:12

the chad


1 Answers

Automatically is a strong word. The best way to go about creating a shared component library is to use NPM or even setup a private NPM repository at your company. Then any consumer of your library can just npm install like any other dependency and update whenever they want

like image 160
Everest Avatar answered Oct 18 '22 18:10

Everest