Comments (1)
因为维护成本较高,无代码平台的客户端还是以 React 为主,但是并不代表就不能用 Vue 了。客户端并不是强绑定的,可以用任意前端框架实现,NocoBase 可以只提供 REST API,客户端开发自己来实现。
除此之外,目前,NocoBase 提供的客户端,内核设计主要有三个概念:
- 客户端请求
- 路由
- Schema 组件
React 的可以看这里的文档思路,以后有空可以补充一下 Vue 的核心思路
https://docs.nocobase.com/zh-CN/guide/kernel-principle/client-side-kernel
- NocoBase 提供了一套方便客户端请求的 JavaScript 版的 SDK —— API Client,API Client 是通用的。
- 路由,React 是基于 React Router,Vue 也有自己的 Router,配置非常接近,兼容处理就可以了。
- Schema 组件是基于 Formily 的,支持适配 React 和 Vue 的组件,有现成的 Ant Design、Fusion Design、Element 这些组件可以参考。
NocoBase 为了更贴合无代码平台需要,基于 React 版的 Ant Design 实现了几十个组件,如果有其他需要,大家也可以自行扩展,包括用 Vue 的实现。
更多细节,如果需求量大,以后可以考虑补充一下文档。
from nocobase.
Related Issues (20)
- 是否考虑接入 Java 生态?
- Linkage Rule submit button issue HOT 1
- ACL Data Scope Rending Failure HOT 3
- 已经上传的附件,再次查看或编辑时会丢失,也没有返回数据 HOT 4
- ACL > Edit Role & Permissions > Name is vulnerable to SSTI HOT 2
- Add Menu Item is vulnerable to Cross Site Scripting
- 用0.9.2版本设计父子表单正确,但用0.9.3设计界面不是原来的样子。【选择的都是同样的子表单】 HOT 6
- 在线演示系统删除一张表系统崩溃 HOT 1
- 文件数据库 在普通数据库 编辑页面 无法显示。 HOT 8
- 不支持导入已经存在的表吗? HOT 1
- 编译时出错 HOT 1
- 筛选中树表格的数据不能匹配下级 HOT 1
- 配置多对多筛选后登录出现错误
- 编译错误 HOT 1
- 升级出现错误 HOT 1
- 系统启动时出现错误 HOT 3
- 为什么关联字段,有的字段就是不能显示,上次issue给我关了,我以为修好了 HOT 4
- associated fields some times are displaying wrongly , and links between collection has issues ! HOT 4
- yarn pm enable 会报错 Cannot read properties of undefined (reading 'requiredPlugins') HOT 2
- Error reported after upgrading to the latest code version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nocobase.