Metrics
0
Watch 70 Star 151 Fork 54

furioussoul / vue代码生成,vue可视化,vue动态表单JavaScriptMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Vue可视化,Vue代码生成,vue动态表单 spread retract

https://github.com/furioussoul/soul-esview

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

 中文

Esview

License

 

Introduction

Esview is a vue page code generator based on iview-ui.  

You can get .vue file code by dnd components on esview.

Also you can customize your own draggable components.

QQ图片20171027113639.png

Online Demo

http://47.94.2.0:9090

Doc

1 generate code:

You can assemble page by dragging components on the left side and drop them into the middle section.

Click 'code' on the action bar to see generated code and click copy to get code.

2 customize own draggable components:

You should know how to register components on vue,so this is the first step,

second step is to go to page 'Develop->ManageControl',copy code of 'Div',

and modify exports.* according to your own components,click save and you will see it on assemble page.

Install

frontend: Esview uses vue and iview,so the code generated must rely on vue and iview.

backend: Java(springboot),so you must install jdk firstly.

database:mysql,the sql file is on directory 'server',named 'soul-esview.sql'.

Theory

How to implement dnd:I use html api,the code is in dnd.js .

How to generate code:The data structure behind assembled page is a syntax tree,

I use recursive downward parsing to get the final .vue code.  

License

MIT

Copyright (c) 2017-present, SunZhengJie(Furioussoulk)

Comments ( 7 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025