Code Monkey home page Code Monkey logo

visual-drag-demo-react-'s Introduction

一个低代码平台的前端部分,靠拖拉拽生成页面。

说明

本项目应用框架模板是react版本的devextreme,是对基于vue2的visual-drag-demo的翻译,是react版本,免费供大家参考学习。如有对作者woai3c的僭越之处还请联系我,可随时删除。本人懂vue,在学习react中,看到作者说这个项目是教学项目,刚好作者没有做react版本,我就拿来练手。react版本对vue版本只做了技术上的翻译,**没做任何改动。唯一的改动,就是添加了缩放的适配,可根据浏览器自动调整大小而不出现滚动条。

如果想了解详细的开发思路请转至visual-drag-demo进行学习。

设计界面

image

预览界面(可根据屏幕大小自适应调整),按ESC键退出预览

1920*1080

image

其它任意尺寸

image

在线DEMO

预览入口(Github)不翻墙可能速度慢

安装

npm install

运行

npm run start

打包

npm run build

devextreme add view view-name [--icon]

运行以上命令后,您可以在“src\pages”文件夹下找到添加的视图。这个命令还在' src\app-navigation.js '文件中为添加的视图创建一个导航菜单项。这个功能方便你开发项目时遇到问题,做demo自我排查,是很好的一个生成命令行工具

visual-drag-demo-react-'s People

Contributors

wycjason avatar

Watchers

 avatar

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.