Reuse Project Response Components

I want to break my web project into three: front-end, back-end and super-admin.

What is the best way to reuse components in a code base? Npm packages? It is hard to maintain:

  • Open component developer package
  • Make changes
  • Push change
  • Tag version
  • Update all projects

It seems complicated and error prone. Is there a better way?

+4
source share
2 answers

, . , , , npm- . , , . -, npm, npm link. node_modules .

- npm, () javascript , ( webpack/ ).

+4

, : Bit.

, , . , / , NPM ( " ". , .

0

All Articles