Answer the question
In order to leave comments, you need to log in
How to organize work with several projects with a common code?
We develop 2 projects (and there will be more) on JS, Vue.js, use npm and store the code in git repositories.
It is necessary to move common components (templates of buttons, page parts and entire pages) to a separate repository in order to reuse them in all projects.
How to use these files in all projects? Create a subdirectory and link it to this shared repository? Create an npm package? How to do it?
Developers can make changes to common components, create new ones. To prevent changes from breaking other projects, it is necessary to organize a change check, perhaps pull requests and their check. How to do it?
Answer the question
In order to leave comments, you need to log in
It is necessary to move common components (button templates, page parts and entire pages) to a separate repository in order to reuse them in all projects.
How to use these files in all projects? Create a subdirectory and link it to this shared repository? Create an npm package? How to do it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question