tdesign-mobile-vue-starter-community 是一个基于 TDesign Mobie Vue 移动端组件库,使用 Vue3、Vite、TypeScript 开发。
推荐使用 node.js 的 LTS 版本(22.x)进行开发,pnpm 作为包管理器
pnpm install
pnpm run dev
提交规范与 Conventional Commits 一致,结构如下所示:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
type 类型如下:
1. feat:新功能
2. fix:修补 bug
3. docs:文档
4. style: 格式
5. refactor:重构
6. test:增加测试
7. chore:构建过程或辅助工具的变动
tdesign-mobile-vue-starter-community/
├── .github/ # GitHub相关配置
│ ├── workflows # 自动化工作流配置
├── .husky/ # Git Hooks配置
├── .vscode/ # VSCode编辑器配置
├── node_modules # 项目依赖包
├── public/ # 公共静态资源
├── src/ # 项目源码
│ ├── assets/ # 静态资源
│ ├── components/ # 可复用组件
│ ├── layouts/ # 布局组件
│ ├── pages/ # 业务页面
│ ├── router/ # 路由配置
│ ├── stores/ # 状态管理
│ ├── App.vue # 根组件
│ ├── *.d.ts # 类型声明文件
│ └── main.ts # 应用入口文件
├── .cnb.yml # cnb.cool CI/CD配置文件
├── .gitignore # git忽略匹配规则
├── eslint.config.mjs # ESLint 配置文件
├── index.html # 应用HTML入口
├── package.json # 项目依赖和脚本
├── pnpm-lock.yaml # pnpm锁定文件
├── README.md # 项目说明文档
├── tsconfig.json # TypeScript配置
└── vite.config.ts # Vite配置
本项目基于以下视觉稿进行开发:
移动端通用场景页面模版:https://codesign.qq.com/s/567449555703953
访问密码:F2FO