How to share code between multiple projects with angularJS

后端 未结 3 634
刺人心
刺人心 2021-02-07 06:44

I was wondering what would be the best practice to share common libraries and own modules between multiple angularJS projects.

Let\'s assume that I\'m working on two dif

3条回答
  •  日久生厌
    2021-02-07 06:58

    Or just do...

    "dependencies" : {
      "shared-code" : "git://github.com/user/shared-code.git",
    }
    

提交回复
热议问题