You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
unknown
a6037022d8
|
4 years ago | |
---|---|---|
.github/workflows | 4 years ago | |
.husky | 4 years ago | |
preview | 4 years ago | |
public | 4 years ago | |
src | 4 years ago | |
.cz-config.js | 4 years ago | |
.editorconfig | 4 years ago | |
.env.development | 4 years ago | |
.env.production | 4 years ago | |
.eslintignore | 4 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
.prettierignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
commitlint.config.js | 4 years ago | |
index.html | 4 years ago | |
package.json | 4 years ago | |
prettier.config.js | 4 years ago | |
tsconfig.json | 4 years ago | |
vite.config.ts | 4 years ago | |
windi.config.ts | 4 years ago | |
yarn.lock | 4 years ago |
README.md
Vite2.x + Vue3.x + TypeScript H5低代码平台
技术栈
- 编程语言:TypeScript 4.x + JavaScript
- 构建工具:Vite 2.x
- 前端框架:Vue 3.x
- 路由工具:Vue Router 4.x
- 状态管理:Vuex 4.x
- PC端UI 框架:Element Plus
- H5端UI 框架:vant
- CSS 预编译:Stylus / Sass / Less
- HTTP 工具:Axios
- Git Hook 工具:husky + lint-staged
- 代码规范:EditorConfig + Prettier + ESLint + Airbnb JavaScript Style Guide
- 提交规范:Commitizen + Commitlint
- 单元测试:vue-test-utils + jest + vue-jest + ts-jest
- 自动部署:GitHub Actions
功能清单
- 动态添加页面
- 拖拽式生成组件
- service worker + indexeddb 实现无服务端的前端交互
- 数据源管理
- 提供预置函数
- 更多组件的封装
- 其他...
简易说明
目前在使用表单时,需要把相关的表单控件
放到表单容器
内部,并且需要将按钮
放到表单容器
内,
然后再讲按钮的type
设置为表单提交按钮
这时候点击提交按钮才会自动收集表单容器内部的所有字段和值
快速开始
安装依赖
npm install
# or
yarn add
启动项目
npm run dev
项目打包
npm run build