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.
 
 
 
 
 
wally ab0eb05cb4 docs: README.md 4 years ago
public feat(pinch): alloy finger实现图片的pinch放大缩小 4 years ago
src feat(pinch): alloy finger实现图片的pinch放大缩小 4 years ago
.editorconfig refactor(template): eslint prettier sass uview tailwindcss 4 years ago
.eslintcache docs: README.md 4 years ago
.eslintignore chore: uview-ui 4 years ago
.eslintrc.js chore(信息配置): 配置eslint等配置 4 years ago
.gitignore chore(信息配置): 配置eslint等配置 4 years ago
.prettierignore refactor(template): eslint prettier sass uview tailwindcss 4 years ago
.prettierrc refactor(template): eslint prettier sass uview tailwindcss 4 years ago
CHANGELOG.md docs: README.md 4 years ago
README.md docs: README.md 4 years ago
babel.config.js refactor(template): eslint prettier sass uview tailwindcss 4 years ago
commitlint.config.js refactor(template): eslint prettier sass uview tailwindcss 4 years ago
package.json docs: README.md 4 years ago
postcss.config.js refactor(template): eslint prettier sass uview tailwindcss 4 years ago
tailwind.config.js refactor(template): eslint prettier sass uview tailwindcss 4 years ago
tsconfig.json init 4 years ago
vue.config.js docs: README.md 4 years ago
yarn.lock feat(pinch): alloy finger实现图片的pinch放大缩小 4 years ago

README.md

tall-mui-cli

项目运行

安装依赖

yarn

本地环境运行

  • h5
yarn dev:h5
  • 微信小程序
yarn dev:mp-weixin
  • app
yarn dev:app-plus

生产环境构建

  • h5
yarn build:h5
  • app
yarn build:app-plus
  • 微信小程序
yarn build:mp-weixin

Customize configuration

See Configuration Reference.

代码提交

  • 项目设置了commit lint, commit信息验证;运行yarn cz 命令依次填写commit信息即可
  • 以及pre-commit钩子执行eslint代码格式检测, 代码格式不符合规则无法提交
yarn cz

技术栈

UI及工具库

  • uni-app的cli构建版本
  • vuex vue官方状态管理库
  • tailwindcss 公共样式库(注意这个版本不是最新版本, 最新版本安装后报错)
  • uview-ui uni-app组件库
  • alloyfinger 移动端手势库
  • dayjs 时间处理库
  • pwa 处理缓存, 构建离线应用

构建相关

  • sass node-sass
  • prettier 自动格式化代码
  • eslint 代码可是校验
  • commitlint git commit信息校验
  • husky lint-staged git钩子处理commit校验及eslint代码检测
  • vue-cli-plugin-mock mock数据