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)
- Upgrade Nocobase HOT 2
- Backup failed HOT 1
- 树形表字段配置时,删除一个JSON字段后,无法再编辑已有的数据。当表单保存时报错:Cannot read properties of undefined (reading 'options') HOT 1
- Repeated Error on yarn run dev: Parse Config File Failed in .umirc.ts
- Cron (in Calendar block) don't work properly HOT 1
- Multiapp does not work HOT 2
- Trouble Locating Build Output for Custom Plugin and Registering It HOT 2
- 导入2111-01-01等较大年份到日期字段会截断年份
- Building nocbase using CLI is failing at "yarn nocobase install --lang=en-US" HOT 3
- 工作流判断节点的日期判断有误 HOT 1
- Custom plugin not able to read env variables. HOT 4
- No authentication methods available. HOT 1
- 初次使用,数据库有个字段是图片URL地址,如何显示图片 HOT 1
- Install error when using Mariadb
- The interface is throwing an error when i start the project
- [Urgent] Tables in my postgresSQL database not being linked to one another HOT 2
- 错误信息:没有可用的认证方式 HOT 1
- 错误信息:没有可用的认证方式 HOT 2
- Improvements Needed in Plugin Development Workflow
- "Update One by One" Mode Fails to Trigger Workflow in a Collection After Record Update
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.