vue配置git的子模块

在vue的模块需要调用许多公共组件,在公共组件之后会需要不断的更新以及分组做,这时候可以利用git的方式更新组件所在位置

[submodule "src/component/common"]
    path = src/component/common
[email protected]:projectname/web-common-component.git
[submodule "src/model/common"]
    path = src/model/common
    url = [email protected]:projectname/web-common-model.git

猜你喜欢

转载自blog.csdn.net/hanghangaidoudou/article/details/89226041