# accident-app-frontend **Repository Path**: techsq/accident-app-frontend ## Basic Information - **Project Name**: accident-app-frontend - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-20 - **Last Updated**: 2024-06-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 环境准备 | 环境 | 名称版本 | 下载地址 | | -------------------- | :----------------------------------------------------------- | ------------------------------------------------------------ | | **开发工具** | VSCode | [下载](https://code.visualstudio.com/Download) | | **运行环境** | Node ≥18 | [下载](http://nodejs.cn/download) | ## 项目启动 ```bash # 克隆代码 git clone https://gitlab.waterstrategy.cn/c2023019/vue3-ht.git # 切换目录 cd vue3-ht # 安装 pnpm npm install pnpm -g # 安装依赖 pnpm install # 启动运行 pnpm run dev ``` ## 第三方框架 - vue https://cn.vuejs.org/ - vite https://www.vitejs.net/ - pinia https://pinia.vuejs.org/zh/ 状态管理 - unocss https://unocss.dev/ css - tailwindcss https://www.tailwindcss.cn/ css - vue-router https://router.vuejs.org/zh/ - element-plus https://element-plus.org/zh-CN/component/overview.html ## 本地Mock 项目同时支持在线和本地 Mock 接口,默认使用线上接口,如需替换为 Mock 接口,修改文件 `.env.development` 的 `VITE_MOCK_DEV_SERVER` 为 `true` **即可**。 ## 提交规范 执行 `pnpm run commit` 唤起 git commit 交互,根据提示完成信息的输入和选择。