Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/furioussoul/tailmaster
此项目已暂停开发
https://github.com/furioussoul/tailmaster
codegen codegenerator dnd generator iview vue vuecodegenerator
Last synced: about 2 months ago
JSON representation
此项目已暂停开发
- Host: GitHub
- URL: https://github.com/furioussoul/tailmaster
- Owner: furioussoul
- License: mit
- Created: 2017-09-23T15:24:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T04:05:07.000Z (3 months ago)
- Last Synced: 2024-10-31T17:35:19.424Z (about 2 months ago)
- Topics: codegen, codegenerator, dnd, generator, iview, vue, vuecodegenerator
- Language: JavaScript
- Homepage:
- Size: 122 MB
- Stars: 780
- Watchers: 45
- Forks: 199
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-iview - esview - Drag vue dynamic components to build your page,generate vue code. (Related Projects)
README
# 此项目已暂停开发
# 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](http://chuantu.biz/t6/121/1509463255x2890191685.gif)
# Online Demo
http://47.97.220.227: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](https://opensource.org/licenses/MIT)Copyright (c) 2017-present, SunZhengJie(Furioussoulk)