Go to file
2022-01-11 14:16:51 +08:00
AS-Editor feat: 新增预览功能 2022-01-07 18:31:14 +08:00
public feat: 更新富文本的zh_CN.js 2022-01-05 14:27:47 +08:00
script feat: 增加commit提交规范 2022-01-04 10:14:28 +08:00
src feat: 组件局部引入改成全局注册 2022-01-11 14:16:51 +08:00
.eslintrc.js feat: v1.0.0 2021-08-25 14:39:54 +08:00
.gitignore feat: 更新md文档 2021-12-29 15:53:19 +08:00
.prettierrc.js feat: v1.0.0 2021-08-25 14:39:54 +08:00
babel.config.js feat: v1.0.0 2021-08-25 14:39:54 +08:00
LICENSE add LICENSE. 2021-10-28 02:38:56 +00:00
package-lock.json feat: 优化视频/文章组件 2021-11-09 18:30:59 +08:00
package.json feat: 新增导出/导出JSON功能(老版本需要npm install,安装一下依赖) 2021-11-01 17:34:55 +08:00
README.md feat: 新增预览功能 2022-01-07 18:29:27 +08:00
vue.config.js feat: 更换上传图片地址 2021-11-25 16:45:47 +08:00

AS-Editor

介绍

基于 vue 可视化拖拽编辑,页面生成工具。提升前端开发效率,可集成至移动端项目作为通过定义 JSON 直接生成 UI 界面。

文档地址:https://was666.gitee.io/as-editor-doc

在线体验:http://was666.gitee.io/as-editor

安装教程

  1. npm install (安装 node_modules 模块)
  2. npm run serve (运行)
  3. npm run build (打包)
  4. npm update (用于更新包到基于规范范围的最新版本)

使用说明

使用教程

步骤1 步骤2 步骤3 步骤4 步骤5 步骤6

自定义组件可以看:
src / layout / home / index.vue                 // 编辑页面文件
src / components / sliderassembly / index.vue   // 左侧组件大全文件
src / components / componentscom                // 左侧组件目录
src / components / rightslider                  // 右侧组件目录
src / utils / componentProperties.js            // 组件数据

componentProperties组件数据字段注解

{
  component: 'custommodule',    // 中间部分手机组件的name
  text: '自定义模块',            // 组件文字描述
  type: '1-14',                 // data-tpye
  active: true,                 // 是否选中
  style: 'custommodulestyle',   // 右边组件设置的name
  setStyle: {}                  // 组件动态数据
}

扩展项目

AS-Editor-H5https://gitee.com/was666/as-editor-h5.git

AS-Editor-H5 是移动端 vue 模版,可以通过定义的 JSON 生成 vue 页面

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

结尾

如果喜欢的话给个 star 一下哈!
如果有意见和问题 可以在 lssues 提出,我会在线解答。