# aidemo **Repository Path**: jingchu/aidemo ## Basic Information - **Project Name**: aidemo - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-29 - **Last Updated**: 2025-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AiFlowy UI React 这是一个基于 React 的 AI 应用前端框架,专注于提供高效、流畅的开发体验和用户交互。项目集成了现代前端开发所需的各种功能,包括 API 对接、组件封装、状态管理、国际化支持等。 ## 技术栈 - React 18 - TypeScript - Vite - Ant Design - Axios - ahooks - i18next - Zustand (状态管理) - Less ## 开始使用 ### 安装依赖 ```bash npm install ``` 或使用 yarn: ```bash yarn install ``` ### 启动开发服务器 ```bash npm run dev ``` 或: ```bash yarn dev ``` ### 构建生产版本 ```bash npm run build ``` 或: ```bash yarn build ``` ## 项目结构 - `src/` - 主要源码目录 - `App.tsx` - 根组件 - `components/` - UI 组件 - `hooks/` - 自定义 Hooks - `locales/` - 国际化资源文件 - `pages/` - 页面组件 - `routers/` - 路由配置和视图组件 - `store/` - 状态管理模块 - `config.tsx` - 全局配置文件 ## 默认登录 默认登录账号为: - 用户名:admin - 密码:123456 ## 环境变量 配置文件 `.env.development` 和 `.env.production` 用于定义环境变量,如 API 地址、代理设置等。具体配置项请参考项目中的 `.env.development` 文件。 如需修改 API 地址,请在 `.env.development` 中调整: ``` VITE_API_BASE_URL=/api VITE_PROXY_TARGET=http://your-api-server.com ```