Giter Site home page Giter Site logo

Comments (1)

chenos avatar chenos commented on May 10, 2024

因为维护成本较高,无代码平台的客户端还是以 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.