-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
76 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,5 +36,5 @@ | |
} | ||
|
||
.VPImage.logo { | ||
border-radius: 50%; | ||
border-radius: 6px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"Vue.volar", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"cSpell.ignoreWords": ["formily", "vitesse", "niceone"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Introduction | ||
|
||
## 什么是 formily.top? | ||
|
||
formily.top 是基于 [Alibaba Formily](https://formilyjs.org/zh-CN) 二次开发的表单、静态页面低代码解决方案,目前主要应用在 Vue3 项目中,它包含下面几个模块: | ||
|
||
- 基于 Formily Designable 二次开发的低代码设计器 [design.formily.top](http://design.formily.top) | ||
- 基于 Vue3 + Koa.js + MongoDB 的低代码配置列表、编辑、预览(前后端增删改查)[config.formily.top](http://config.formily.top)、[api.formily.top](https://github.com/formily/server) | ||
|
||
下面是一个最基本的示例: | ||
|
||
```vue | ||
<template> | ||
<FormilyView :configId="configId" @confirm="confirm" /> | ||
</template> | ||
<script setup lang="ts"> | ||
import { FormilyView } from "@niceone/formily-comp"; | ||
const configId: string = "QJQkCJlOQ6wrZ00H"; // 低代码配置 ID | ||
const confirm = (formData) => { | ||
console.log("confirm", formData, formData.name); // 获取表单数据 | ||
}; | ||
</script> | ||
``` | ||
|
||
## 实现细节 | ||
|
||
- 基于 @formily/element-plus 二次扩展开发的 [@niceone/formily-element-plus](https://github.com/formily/element-plus) 组件库,用于扩展设计器支持的组件 | ||
- 针对低代码的应用场景,简化低代码引入,二次封装的 [@niceone/formily-comp](https://github.com/formily/formily-comp) 组件 | ||
- Vue3 项目低代码应用场景,demo 展示:[vue.formily.top](http://vue.formily.top) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters