Giter Site home page Giter Site logo

mrxujiang / h5-dooring Goto Github PK

View Code? Open in Web Editor NEW
8.5K 156.0 1.6K 50.92 MB

H5 Page Maker, H5 Editor, LowCode. Make H5 as easy as building blocks. | 让H5制作像搭积木一样简单, 轻松搭建H5页面, H5网站, PC端网站,LowCode平台.

Home Page: https://dooring.vip

License: GNU General Public License v3.0

JavaScript 53.43% TypeScript 27.86% CSS 12.36% HTML 3.30% Less 2.92% Dockerfile 0.01% EJS 0.12%
react react-router javascript h5 react-dnd h5-editor typescript drag-and-drop site-generator lowcode

h5-dooring's Introduction

Make H5 as easy as building blocks!

H5编辑器,H5制作神器,H5 editor,lowcode

Welcome to H5-Dooring 👋

Version Documentation license:GPL3.0

H5-Dooring is a powerful, open source, free H5 visual page configuration solution dedicated to providing a simple, convenient, professional and reliable, unlimited set of H5 landing page best practices. The technology stack is mainly react, developed in the background using nodejs.

H5-Dooring编辑器预览图

home🏠 demo✨ doc📦 tutorial wiki
website Demo Document 视频&Video wiki

✨ note: If the official visit is too slow, visit the H5-Dooring for Singapore

English | 简体中文

new doc: private deployment process

Related products:

Author

👤 alex_xu

Star History Chart

🤝 Contributing and support

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Give a ⭐️ if this project helped you!

Privatization Deployment documentation

Features

  1. editor
    • Guides
    • The underlying component
    • Visual components
    • Media components
    • Product components
    • Dragper
    • Configure the panel
    • Form designer
    • (Multi) Page management (copy, edit, delete, new)
    • Component animation
    • Component interaction
    • Data source management
    • Quick preview
    • Real machine preview
    • Undo and redo
    • WeChat shares
    • shortcut key
    • The template library
    • Desktop software, Dooring-electron, supports offline use
  1. Enhanced features

    • Upload json, convert to H5 with one click
    • Photo gallery
    • Code capability (download source, download dis package)
  2. backend API

    • Create, save, and update your work
    • User management, rights management
    • One-click intelligent analysis
    • Data look
    • Form data collection
    • Form data presentation
    • Form data analysis, one-click export excel, form multi-condition search
    • Preview online
    • QR code preview
    • Template management
    • Code interface

Update the log

  1. Whether the video component adds a full-screen configuration item when playing
  2. Fixes a click failure of the icon component
  3. The editor supports multi-size switching and canvas size customization
  4. Fix multilingual issues with background management analytics forms
  5. The component library supports user-defined selection

Technology Sharing

The back-end section

The back-end part because of the knowledge points involved is more, is not the focus of this article, so here is a few points, you can use completely different technology to achieve back-office services, such as PHP, Java, Python or Egg. The author here is using the "koa" .

Specific code can refer to the full stack development article:

Install

  1. Download the code
git clone https://github.com/MrXujiang/h5-Dooring.git
  1. Go to the project catalog
cd ./h5-Dooring
  1. Install the dependency package
yarn pkg

Usage

Launch the app locally

yarn start
or
cnpm run start

注意: 如果 window 系统下无法启动, 请移步 dooring-electron

How to run the downloaded code ?

  1. The compression package can be unzipped directly to the server root, and access to the root address is sufficient
  2. 'vscode' installs the Live Server plug-in, unzips the downloaded compression package into a folder, opens with 'vscode', clicks on Live Server, and notes that to remove the 'index .html' of the startup path, change it to '/'

If you find that the local boot component drag and drop encountered strange errors, is the third-party component in the development environment bug, you can take a step to solve:

If you find that the local start-up component drag encountered strange errors, is a bug that should be a third-party component in the development environment, can be resolved in a way:

yarn dev
or
cnpm run dev

The premise is to install the http-server module first.

Browsers support

Modern browsers does not support IE browser

IE / Edge
IEdge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge last 2 versions last 2 versions last 2 versions

Contact us

line

Twitter Account:@H5Dooring

Partner project

Sponsored

Open source is not easy, with your sponsorship, we will do better

Technical feedback and communication

wechat:beautifulFront

h5-dooring's People

Contributors

aleryxu avatar eyea avatar mokinzhao avatar mrxujiang avatar overq-n avatar ralapchen avatar stevenleep avatar turkyden avatar yehuozhili avatar zhangjinlongll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

h5-dooring's Issues

H5-Dooring更新日志

1.98

  1. 编辑器功能区添加更多折叠下拉框, 优化头部界面
  2. 添加数据源入口和界面
  3. 模版库优化, 剔除无用模版, 累计60+模版
  4. 入口页添加赞助墙
  5. 升级视频组件, 支持弹幕, 截屏, 模式设置等功能
  6. 文件上传路径兼容window服务器本地化部署

1.96

  1. 修复首页推荐项目外链地址和站内文案
  2. 替换Dooring网站logo
  3. 优化ios8以下访问H5时可能出现的页面卡顿问题
  4. 图片上传组件添加svg, gif图片格式支持
  5. 后台管理系统添加一键跳编辑器按钮
  6. 服务端编辑侧路由加固
  7. 文件上传组件添加自定义上传文档,支持七牛云,腾讯云,阿里oss等第三方图床方式

1.95

  1. dooring文档添加更新日志模块
  2. dooring增报错监控函数, 提供一键清空缓存按钮和自动重载功能
  3. 新增电商商品H5模版
  4. 页面配置增加背景模式和背景重复
  5. 表单添加字段名配置项

1.94

  1. 转盘组件支持转盘交互功能(跳转链接/打开弹窗/自定义代码)
  2. 添加网站拦截, 防止页面误关导致页面无法保存
  3. 优化页面控制条组件样式
  4. 按钮组件添加组件动画
  5. 图片组件添加组件动画
  6. 媒体组件icon优化
  7. 全局错误监控组件添加一键清除缓存功能

1.93

  1. 上线源码下载功能
  2. 服务端支持下载源码服务和下载次数限制
  3. 界面部分文案优化
  4. 出码基座优化
  5. 抽奖组件支持抽奖后自定义交互(弹窗/链接/自定义代码)

1.92

  1. 修复背景图预览适配问题
  2. 转盘组件支持中奖后自定义交互/弹窗/自定义代码
  3. 界面局部调整
  4. 后台管理表单数据支持多键查询
  5. 可视化大屏柱状图组件支持实时数据请求

yarn run build && serve ./server 页面报错

image

umi.js:1 Uncaught TypeError: e is not a function
at umi.js:1
at Array.map ()
at umi.js:1
at u (umi.js:1)
at an (umi.js:1)
at Object.d (umi.js:1)
at Object.c [as start] (umi.js:1)
at x.render (umi.js:1)
at nu (umi.js:1)
at tu (umi.js:1)

yarn run start 正常

启动之后无法引用styles

WARNING Compiled with 5 warnings
warning in ./src/components/BasicShop/VisualComponents/XProgress/index.tsx
"export 'default' (imported as 'styles') was not found in './index.less?modules'
warning in ./src/components/BasicShop/BasicComponents/Text/index.tsx
"export 'default' (imported as 'styles') was not found in './index.less?modules'
warning in ./src/components/BasicShop/BasicComponents/LongText/index.tsx
"export 'default' (imported as 'styles') was not found in './index.less?modules'
warning in ./src/components/BasicPcShop/BasicComponents/Text/index.tsx
"export 'default' (imported as 'styles') was not found in './index.less?modules'
warning in ./src/components/BasicPcShop/BasicComponents/LongText/index.tsx
"export 'default' (imported as 'styles') was not found in './index.less?modules'

yarn build打包后遇到这样的错误,yarn start下则没有问题,尝试过修改了umi配置并没有效果

TypeError: t is not a function
    at redux.js:642
    at Array.map (<anonymous>)
    at redux.js:641
    at u (redux.js:79)
    at an (index.esm.js:291)
    at Object.d (index.esm.js:1092)
    at Object.c [as start] (index.esm.js:195)
    at O.render (dva.ts:67)
    at Ie (react-dom.production.min.js:104)
    at rh (react-dom.production.min.js:103)
Me @ react-dom.production.min.js:125
react-dom.production.min.js:161 Uncaught TypeError: t is not a function
    at redux.js:642
    at Array.map (<anonymous>)
    at redux.js:641
    at u (redux.js:79)
    at an (index.esm.js:291)
    at Object.d (index.esm.js:1092)
    at Object.c [as start] (index.esm.js:195)
    at O.render (dva.ts:67)
    at Ie (react-dom.production.min.js:104)
    at rh (react-dom.production.min.js:103)

find a new bug

使用过程中发现一个BUG,并且可以多次重现,发现如下:

数据源使用,修改一个数据,多个数据被覆盖的问题

这是之前的数据:
image
开始修改其中一个数据:
image
修改一个数据保存后,其他数据都被覆盖成这个数据
image

组件商店

建设基础能力,开放组件开发权限,开发者可以自主开发所需组件。
组件开发后提审,审批通过后可以在左侧组件商店搜索到,拖拽生成页面。

h5-dooring更新日志

h5制作工具,h5页面设计平台h5-dooring更新如下:

  1. 添加用户登录过期提醒弹窗
  2. 添加平台更新日志弹窗
  3. 添加用户使用指南
  4. 实现组件右键复制/删除功能
  5. 优化模版保存和保存功能
  6. 后台管理系统模版设计
  7. Button添加交互功能, 显示弹窗, 跳转链接, 自定义代码

后期规划:

  1. PC端搭建平台开发
  2. 后台模版开发
  3. 保存模版和保存逻重构
  4. beta版服务端开发设计

改进2点

1.画布背景带网格
2.画布大小可以自定义
3.控件位置可以自定义托拉

更新日志

  1. form组件文本框字段修改
  2. 清空按钮添加确认框
  3. 表单组件中添加展示型文本,用来对字段说明

todoList:

  1. Button交互组件设计
    1.1 支持链接跳转(已完成)
    1.2 支持打开弹窗
    1.3 支持自定义编写代码
  2. 支持form表单排列(横向/纵向)
  3. PC端搭建平台

拉取代码后,本地运行报错

image
1.拉取代码后,运行了npm run start 和 npm run dev后,请问这是什么原因呢?
2. 另外我还想知道怎么注册会员,我找了很久没找到注册的入口,只有登陆的?因为现在不登陆的话,体验不了。

Dooring2.0更新日志

2.0

  1. 完善数据源功能
  2. 轮播图/图片列表/List/文字跑马灯/横向滚动组件数据源对接完毕
  3. 组件库支持搜索功能
  4. 组件列表支持分页, 提高渲染性能
  5. 赞助墙交互优化
  6. 界面局部优化

1.99

  1. 添加数据源功能
  2. 视频组件支持封面图
  3. 优化页面DSL结构, 降低了jsonSchema体积30%-50%
  4. 官网优化
  5. 管理后台替换logo, 部分文案信息
  6. 添加图片列表组件
  7. 轮播图支持一键绑定数据源

页面白屏

我拖了一个轮播图,然后没有填URL 只是修改了一下标题 , 保存之后就页面就空白了。

umi.js:1 TypeError: Cannot read property 'url' of undefined at 18.js:1 at Array.map (<anonymous>) at l (18.js:1) at 18.js:1 at pa (umi.js:1) at eu (umi.js:1) at Ja (umi.js:1) at Za (umi.js:1) at Fu (umi.js:1) at zc (umi.js:1)

请教一下编辑器目前是不支持内部嵌套吗?

你好~最近我也在做可视化编辑器相关的开发工作,我用了下demo,似乎单个组件就是独占一行的布局,那我如果需要实现例如文字左边某个位置有一个居中图标的话应该如何操作呢?目前我考虑的是通过容器内部嵌套or绝对坐标来处理

固定页面

  1. 页面路径 /editor
  2. 中间页面滚动太快,是否需要滚动?感觉一不小页面被滑走了,能否固定中间页面 。

表单组件不居中

拖入表单组件后,表单组件无法居中展示,也无法去掉默认外边距。

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.