# vue3-web **Repository Path**: liveb/vue3-web ## Basic Information - **Project Name**: vue3-web - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-06 - **Last Updated**: 2024-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cac-website 店小满官网 ## 功能介绍 - 使用 Vue 3.4.21 + TypeScript 5.4.0 - 采用 Vite 5.2.8 作为项目开发、打包工具 - 使用 husky、commitlint 规范提交信息 - 使用 Pinia 替代 Vuex,轻量、简单、易用 - 使用 uview-plus ui 组件库 ### 使用方式 ```bash # run h5 pnpm dev:h5 # build h5 pnpm build:h5 ``` ## git提交规范 如果项目中提示: 1. 没有权限就给个权限 使用 chmod +x 给权限 2. 先通过命令解决husky钩子不执行的问题 ```bash chmod +x .husky/commit-msg ``` ### 定义和规范 & 这是一个规范我们提交代码的工具 | Type | 作用 | | -------- | -------------------------------------------------------------------------------------- | | feat | 新增特性 (feature) | | fix | 修复 Bug(bug fix) | | docs | 修改文档 (documentation) | | style | 代码格式修改(white-space, formatting, missing semi colons, etc) | | refactor | 代码重构(refactor) | | perf | 改善性能(A code change that improves performance) | | test | 测试(when adding missing tests) | | build | 变更项目构建或外部依赖(例如 scopes: webpack、gulp、npm 等) | | ci | 更改持续集成软件的配置文件和 package 中的 scripts 命令,例如 scopes: Travis, Circle 等 | | chore | 变更构建流程或辅助工具(比如更改测试环境) | | revert | 代码回退 | ### 提交示例 ```bash git add . git commit -m "feat: 新增xxx功能" ```