Go to file
bqy_fe 9f77b496ac Merge branch 'main' of github.com:buqiyuan/vite-vue3-lowcode 2021-06-12 22:10:27 +08:00
.github/workflows first commit 2021-05-04 21:54:05 +08:00
.husky fix: monaco run error with production 2021-05-26 22:15:13 +08:00
.vscode style: code style 2021-06-06 21:54:49 +08:00
preview fix: some bug 2021-05-30 14:31:04 +08:00
public chore: add gitee repository url 2021-06-01 14:20:33 +08:00
src Merge branch 'main' of github.com:buqiyuan/vite-vue3-lowcode 2021-06-12 22:10:27 +08:00
.cz-config.js first commit 2021-05-04 21:54:05 +08:00
.editorconfig first commit 2021-05-04 21:54:05 +08:00
.env.development first commit 2021-05-04 21:54:05 +08:00
.env.production feat: iframe preview 2021-05-06 00:35:05 +08:00
.eslintignore first commit 2021-05-04 21:54:05 +08:00
.eslintrc.js style: code style 2021-06-06 21:54:49 +08:00
.gitignore chore: adjust config 2021-05-31 22:43:55 +08:00
.prettierignore first commit 2021-05-04 21:54:05 +08:00
.stylelintignore fix: monaco run error with production 2021-05-26 22:15:13 +08:00
LICENSE first commit 2021-05-04 21:54:05 +08:00
README.md chore: update deps 2021-06-10 17:23:51 +08:00
README.zh-CN.md chore: update deps 2021-06-10 17:23:51 +08:00
commitlint.config.js first commit 2021-05-04 21:54:05 +08:00
index.html feat: tools 2021-05-08 10:43:28 +08:00
package.json chore: update deps 2021-06-10 17:23:51 +08:00
prettier.config.js first commit 2021-05-04 21:54:05 +08:00
stylelint.config.js style: code style 2021-06-06 21:54:49 +08:00
tsconfig.json chore: adjust config 2021-05-31 22:43:55 +08:00
vite.config.ts fix: monaco run error with production 2021-05-26 22:15:13 +08:00
windi.config.ts first commit 2021-05-04 21:54:05 +08:00
yarn.lock chore: update deps 2021-06-10 17:23:51 +08:00

README.md

base on Vite2.x + Vue3.x + TypeScript H5 Low code platform

license

English | 中文

Clone the main branch and ignore irrelevant branches such as git-pages

git clone --single-branch https://github.com/buqiyuan/vite-vue3-lowcode.git
# or
git clone --single-branch https://gitee.com/buqiyuan/vite-vue3-lowcode.git

technology stack

Function List

  • Add pages dynamically
  • Drag and drop components
  • service worker + indexeddb Implement server-free front-end interaction
  • DataSource Admin Console
  • Provide preset functions
  • More component encapsulation
  • Others...

Generate component properties quickly

// 在vant文档中 chrome控制台输入以下代码快速生成组件属性
let propObj = {
  string: (config) => `createEditorInputProp(${JSON.stringify(config)})`,
  number: (config) => `createEditorInputNumberProp(${JSON.stringify(config)})`,
  boolean: (config) => `createEditorSwitchProp(${JSON.stringify(config)})`
}

$$('#props + table tr').reduce((prev, curr) => {
  const children = curr.children
  const key = children[0].textContent.replace(/-([a-z])/g, (all, i) => i.toUpperCase())
  const value = (propObj[children[2].textContent] ?? propObj['string'])({
    label: `'${children[1].textContent}'`
  }).replaceAll('"', '')
  prev[key] = value
  return prev
}, {})

Browser support

The Chrome 80+ browser is recommended for local development

Support modern browsers, not IE

 Edge
IE
 Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
not support last 2 versions last 2 versions last 2 versions last 2 versions

Git Contribution submission specification

  • feat Add new features
  • fix Fix the problem/BUG
  • style The code style is related and does not affect the running result
  • perf Optimization/performance improvement
  • refactor Refactor
  • revert Undo edit
  • test Test related
  • docs Documentation/notes
  • chore Dependency update/scaffolding configuration modification etc.
  • workflow Workflow improvements
  • ci Continuous integration
  • types Type definition file changes
  • wip In development

QUICK START

Install and use

npm install
# or
yarn add

run

npm run dev

build

npm run build