Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: 纯后端驱动方案 #53

Open
argan opened this issue Aug 26, 2020 · 3 comments
Open

Feature: 纯后端驱动方案 #53

argan opened this issue Aug 26, 2020 · 3 comments

Comments

@argan
Copy link

argan commented Aug 26, 2020

Description

希望完全在后端管理界面描述的json,前端只需要嵌入sula事先打包好的框架js即可,无需做前端开发,仅需装载页面对应的json即可完成页面功能

Solution

@dxafn
Copy link

dxafn commented Dec 21, 2020

有大佬用 Ant Design Pro 做了一个纯后端驱动的方案 https://github.com/quarkcms/quark-admin
初略看了下,后端按约定好的数据结构返回界面元素,前端解析该结构并动态生成界面。

@xz8la8
Copy link
Member

xz8la8 commented Dec 21, 2020

可以基于后端接口扫描形成配置元数据再转换成sula配置

@dxafn
Copy link

dxafn commented Dec 21, 2020

quark-ui 目前还有些瑕疵,如果 sula也能根据接口配置数据(元数据 + datasource) 动态生成界面是最好不过了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants