# uniapp-vite-ts-template **Repository Path**: hhshao/uniapp-vite-ts-template ## Basic Information - **Project Name**: uniapp-vite-ts-template - **Description**: vite构建uniapp项目模板 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-08-30 - **Last Updated**: 2025-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # uniapp-template #### 介绍 uniapp项目初始化模板(vite + vue3 + ts + pinia + tailwindcss/windicss)。 #### 软件架构 项目基于vite构建,使用pinia作为状态管理,使用tailwindcss作为css框架。解决tailwindcss在小程序报错的问题。 #### 安装教程 1. `npm i` 安装依赖 2. `npm run dev:h5` 运行h5 3. `npm run dev:mp-weixin` 运行微信小程序 4. 自带uview-plus组件,可自行删除。 #### 使用说明 1. 项目使用到tailwindcss,如不用可自行删除:windi.config.ts文件,vite-plugin-windicss && @dcasia/mini-program-tailwind-webpack-plugin 依赖。 2. vite.config.ts中有配置,写了注释的。 3. 管你看没看懂,跑就完了。 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)