Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

npm install git局域网安装怎么指定下载分支目录

package.js

dependencies": {
  "wx_webappframework": "git+http://192.168.1.201:7093/r/WX_WebAppFramework.git"
}

配置安装主分支到项目中
git+http://192.168.1.201:7093/r/WX_WebAppFramework.git
配置安装h5master分支到项目中
git+http://192.168.1.201:7093/r/WX_WebAppFramework.git#h5master

======
要是h5master有dd,wx,app三个目录 ,我只想安装wx目录中的东西怎么写,我试了
git+http://192.168.1.201:7093/r/WX_WebAppFramework.git#h5master/wx
不可以


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...