[Vuejs]-Reuse VueJS components outside solution

0👍

Found the solution:

  • Use npm link to reference the SolutionA in the SolutionB;
  • Add SolutionA in devDependecies of the SolutionB package.json;
  • Then simply import the component1.vue in the component3.vue

Leave a comment