Update README for git+https plugin URL

This commit is contained in:
aria committed 2026-03-28 05:20:12 +09:00
1 parent 9505ff6522
commit 41739ef881
1 file changed
+4 -2
+4 -2
View File
@@ -19,12 +19,14 @@
```json
{
"plugin": {
"url": "https://<your-git-host>/cordova-plugin-bluememe-wifi-connector.git#v1.0.0"
"url": "git+https://<your-git-host>/cordova-plugin-bluememe-wifi-connector.git#v1.0.0"
}
}
```
如果你直接使用当前仓库作为插件仓库,把 `<your-git-host>` 换成你的 Git 地址即可。
这里要使用 `git+https://` 前缀,让 Cordova 按 Git 仓库而不是普通下载地址处理这个 URL。
如果你直接使用当前仓库作为插件仓库,把 `<your-git-host>` 换成你的 Git 地址即可;开发阶段也可以临时写成 `#main`,正式发布建议固定到 tag。
## JavaScript 调用