logo
0
0
WeChat Login
Forkfromtencent/tdesign/tdesign-mobile-vue-starter-community, aheadmain2 commits, behindmain3 commits

TDesign Mobile Vue Starter

一个基于 Vue 3 + TypeScript + TDesign Mobile Vue 的移动端项目模板。

🚀 开始使用

安装依赖

yarn install

启动开发服务器

yarn dev

构建生产版本

yarn build

代码检查

yarn lint

类型检查

yarn type-check

📁 项目结构

starter/
├── src/
│   ├── api/             # API 接口目录
│   ├── assets/          # 静态资源和样式
│   ├── components/      # 组件目录
│   ├── locales/         # 国际化文件
│   ├── pages/           # 文件系统路由页面
│   ├── router/          # 路由配置
│   ├── stores/          # 状态管理
│   ├── styles/          # 样式变量
│   ├── utils/           # 工具函数
│   ├── App.vue          # 主应用组件
│   └── main.ts          # 入口文件
├── public/              # 公共静态资源
├── package.json         # 依赖和脚本配置
├── vite.config.ts       # Vite 配置
├── eslint.config.ts     # ESLint 配置
├── tsconfig.*.json      # TypeScript 配置
├── .cnb.yml             # CNB 工作流配置
├── .gitignore           # Git 忽略文件
├── .husky/              # Git 钩子
├── .editorconfig        # 编辑器配置
├── .vscode/             # VSCode 配置
├── auto-imports.d.ts    # 自动导入类型
├── components.d.ts      # 组件类型
├── typed-router.d.ts    # 路由类型
├── env.d.ts             # 环境变量类型
└── README.md

About

TDesign Mobile Vue 页面模板 - 社区内容类

Language
TypeScript72.6%
CSS9.9%
Vue5.5%
Markdown5.5%
Others6.5%