Coder Social home page Coder Social logo

zhenxingchen / donkey Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 1.95 MB

Write json config, render to page, include uniform action, data collection and smart validate. 编写一个 json 配置对象,即可渲染整张页面,包含通用操作、数据收集和自动校验等。

License: MIT License

JavaScript 10.11% TypeScript 32.20% HTML 1.25% CSS 56.44%
donkey json management-system dynamic-form dynamic-render-page config-page json-to-page json-to-form json-to-html

donkey's Introduction

donkey

中文:驴 / 拼音: lv

默默的做着一些有意义的事情,不忘初心即可
只要组件足够多,可以制作任何管理系统页面

目标

管理系统

管理系统和动态表单项目中,表单字段超多、校验各异和交互复杂,这些表单的研发工作是有共性并且是繁缛复杂的,也是后端开发者们最为头大的东东。

donkey 就是为了简化这些事情的一个前端框架,顺便做了比如模态框、侧边栏、吐司提示等一些实用的组件。期望某一天,donkey 可以开发任意的管理系统,应对各种特殊的页面需求。

使用

JSON

化繁为简,任何复杂的页面都可以使用一致性的 json 配置组件,组成一颗树形配置渲染并完成所有页面端的工作。

UI

AntDesign

严格按照 AntDesign 设计语言 重新编写每一个组件展现。

动画

Animate.css

框架内置动画效果尽量使用开源 animate.css 实现,部分细小交互动画为框架参考业界交互设计实现。大部分组件交互动画还支持用户自定义配置。

图标

Awesome Icon Fonts

框架内置图标使用开源 awesome icon fonts 字体库文件(需额外引入),或用户自定义指定字体图标库。

在此对以上开源设计及项目表示感谢

使用方式

等发布了之后再补充。

开发模式

  • 安装依赖库
npm install
  • 启动开发模式
npm run dev
  • 浏览器访问

http://localhost:9000/

如需更改端口号,请在 scripts/dev.js devServer 配置项中修改 port。

  • 打包输出
npm run build

常用插件

donkey's People

Contributors

zhenxingchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

leihaoyuan

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.