# uniapp+vite+vue3+pinia+ts 框架 **Repository Path**: IT-bear/uniapp-framework ## Basic Information - **Project Name**: uniapp+vite+vue3+pinia+ts 框架 - **Description**: uniapp+vite+vue3+pinia+ts 框架 - **Primary Language**: TypeScript - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 20 - **Forks**: 2 - **Created**: 2023-08-23 - **Last Updated**: 2026-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: uni-app, vue3, TypeScript, vite ## README ## 项目概述 这是一个基于 uni-app 框架的 Vue 3 项目,使用 TypeScript 开发,集成了 ESLint、Prettier 等开发工具。 ## 目录结构 ``` uni_app/ │ ├── assets # 静态资源 ├── src/ # 源代码目录 │ ├── api # API 目录 │ ├── components # 组件目录 │ ├── pages # 页面目录 │ ├── static # 静态资源 │ ├── store # Pinia 状态管理目录 │ ├── utils # 工具函数目录 │ ├── App.vue # 应用入口组件 │ ├── main.ts # 应用入口文件 │ ├── manifest.json # uni-app 配置文件 │ ├── pages.json # 页面路由配置 │ └── uni.scss # 全局样式 ├── types # 类型定义目录 ├── .env.development # 开发环境配置 ├── .env.production # 生产环境配置 ├── package.json # 项目配置和依赖 └── vite.config.ts # Vite 配置文件 ``` ## 技术栈 - **框架**: uni-app + Vue 3 - **UI 组件库**: uview-plus - **状态管理**: Pinia - **语言**: TypeScript - **构建工具**: Vite - **代码质量**: ESLint + Prettier - **样式预处理**: SCSS ## 开发命令 - **安装依赖**: `npm install` - **开发服务器**: `npm run dev:h5` - **类型检查**: `npm run type-check` - **代码检查**: `npm run lint` ## 注意事项 1. 发行的时候,建议还是去 `HBuilder X` 发行 2. 编写代码建议使用 `VS Code` 编写, 并安装相关插件 (如 ESLint, Prettier 等) 3. 可用于学习与交流; 4. 如发现问题或建议可在评论区留言, 看到会及时处理;