@cloudbase/framework-plugin-low-code 0.6.59 → 0.6.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/package.json +1 -1
- package/template/html/index.html.ejs +4 -14
package/README.md
CHANGED
|
@@ -102,3 +102,24 @@ cloudbase framework:deploy
|
|
|
102
102
|
- 云开发官网地址: [https://cloudbase.net/](https://cloudbase.net/)
|
|
103
103
|
- 云开发静态网站开通指南:[https://docs.cloudbase.net/hosting/](https://docs.cloudbase.net/hosting/)
|
|
104
104
|
- 云开发控制台地址: [https://console.cloud.tencent.com/tcb](https://console.cloud.tencent.com/tcb)
|
|
105
|
+
|
|
106
|
+
## 本地测试
|
|
107
|
+
|
|
108
|
+
1. 需要先 link framework。简单可以 clone http://git.code.oa.com/QBase/cloudbase-framework-plugin-low-code.git,切换 release/cals_v2 分支,执行命令,完成 framework-core 的 link;
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
yarn
|
|
112
|
+
yarn run bootstrap
|
|
113
|
+
yarn run build
|
|
114
|
+
yarn run link
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
1. link low-code-plugin。在本目录执行命令,完成 framework 的 link
|
|
119
|
+
```
|
|
120
|
+
yarn
|
|
121
|
+
yarn run build
|
|
122
|
+
yarn run link
|
|
123
|
+
```
|
|
124
|
+
1. 本地开发 通过 `yarn run dev` 监听文件变化并 ts 编译。
|
|
125
|
+
1. `__test__/sample` 目录中有测试项目,通过添加 `.env` 文件可指定 mpAppId /ENV_ID 以及 SECRET 等环境变量。`input.json` 为低码配置,`yarn run dev` 进行文件生成及发布。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/framework-plugin-low-code",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.60",
|
|
4
4
|
"description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
|
|
5
5
|
"author": "yhsunshining@gmail.com",
|
|
6
6
|
"homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
|
|
@@ -459,20 +459,10 @@
|
|
|
459
459
|
src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/0.1.2/_url/ajax/libs/mobx/5.15.7/mobx.umd.js?v=1"
|
|
460
460
|
crossorigin="anonymous"
|
|
461
461
|
></script>
|
|
462
|
-
<script
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
document.write(
|
|
467
|
-
`<script crossorigin="anonymous" src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/release/_npm/@cloudbase/weda-cloud-sdk@1.0.8-alpha.7/dist/h5.browser.js?v=1"><\/script>`
|
|
468
|
-
);
|
|
469
|
-
} else {
|
|
470
|
-
document.write(
|
|
471
|
-
`<script crossorigin="anonymous" src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/release/_npm/@cloudbase/weda-cloud-sdk@1.0.5/dist/h5.browser.js?v=1"><\/script>`
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
})();
|
|
475
|
-
</script>
|
|
462
|
+
<script
|
|
463
|
+
crossorigin="anonymous"
|
|
464
|
+
src="https://qbase.cdn-go.cn/lcap/lcap-resource-cdngo/-/release/_npm/@cloudbase/weda-cloud-sdk@1.0.5/dist/h5.browser.js?v=1"
|
|
465
|
+
></script>
|
|
476
466
|
<script>
|
|
477
467
|
// zxing polifill
|
|
478
468
|
if (!this.globalThis) {
|