zforg 1.0.5 → 1.0.7
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 +8 -8
- package/dist/{index-CUqal84B.js → index-C38HijJB.js} +1 -1
- package/dist/{index-CiCXWUGx.js → index-Cfj8HhTz.js} +1 -1
- package/dist/{index-D9SjWgu4.js → index-CqhBRxjw.js} +57780 -56875
- package/dist/{index-DJMSgd_1.js → index-DMTcGZNm.js} +1 -1
- package/dist/{index-CVkQ4lmC.js → index-DPoM_Jbm.js} +1 -1
- package/dist/{index-D912k5gA.js → index-Dcs5kp2K.js} +1 -1
- package/dist/{index-q2O54V3k.js → index-Ln-nujRR.js} +1 -1
- package/dist/{index-CR2-uG1T.js → index-zK1yBJ7V.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +586 -591
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# 关于
|
|
1
|
+
# 关于 zforg
|
|
2
2
|
|
|
3
3
|
## 0.简介
|
|
4
4
|
|
|
5
|
-
`
|
|
5
|
+
`zforg` 是基于 `vue3`+`tailwindcss` 所编写的低代码框架引擎,其中 UI 基于 `element-plus`,表格基于 `vxe-table`。定位为前端开发人员提供快速搭建页面、实现不仅仅是表单的数据交互。
|
|
6
6
|
|
|
7
|
-
`
|
|
7
|
+
`zforg` 由设计器`designer`和渲染器`sunForm`两个组件构成。
|
|
8
8
|
|
|
9
|
-
`
|
|
9
|
+
`zforg` 提供了非常丰富的组件属性、表单交互和 api 方法等,可通过拖转或单击生成你想要的页面。
|
|
10
10
|
|
|
11
11
|
## 1.安装
|
|
12
12
|
|
|
13
13
|
```shell
|
|
14
|
-
npm i
|
|
14
|
+
npm i zforg@latest
|
|
15
15
|
npm i element-plus@2.7.3
|
|
16
16
|
npm i @element-plus/icons-vue@2.3.1
|
|
17
17
|
npm i vxe-table@4.6.17
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
## 2.引入并全局注册`
|
|
20
|
+
## 2.引入并全局注册`zforg`组件
|
|
21
21
|
|
|
22
22
|
```javascript
|
|
23
23
|
import { createApp } from "vue";
|
|
24
24
|
|
|
25
25
|
import App from "./App.vue";
|
|
26
26
|
import ElementPlus from "element-plus";
|
|
27
|
-
import "
|
|
27
|
+
import "zforg/dist/style.css";
|
|
28
28
|
import "element-plus/dist/index.css";
|
|
29
29
|
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
|
|
30
|
-
import sunFormV3 from "
|
|
30
|
+
import sunFormV3 from "zforg";
|
|
31
31
|
import VxeUITable from "vxe-table";
|
|
32
32
|
|
|
33
33
|
import "vxe-table/lib/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
|
|
2
|
-
import { ae as E } from "./index-
|
|
2
|
+
import { ae as E } from "./index-CqhBRxjw.js";
|
|
3
3
|
const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
|
|
4
4
|
__name: "dataConfig",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as k, resolveComponent as V, openBlock as b, createElementBlock as H, Fragment as j, createVNode as e, unref as l, withCtx as a, createTextVNode as v, isRef as A, createElementVNode as w, toDisplayString as F, createCommentVNode as T, createBlock as S, renderList as $ } from "vue";
|
|
2
|
-
import { ae as q } from "./index-
|
|
2
|
+
import { ae as q } from "./index-CqhBRxjw.js";
|
|
3
3
|
const J = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex h-full flex-col"
|