# openwallpaper-vault-client **Repository Path**: openkylin/openwallpaper-vault-client ## Basic Information - **Project Name**: openwallpaper-vault-client - **Description**: No description available - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2026-01-13 - **Last Updated**: 2026-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OpenWallpaper Vault - Client OpenWallpaper SIG的在线壁纸库社区平台前端系统 ## 安装步骤 ```bash cd client npm install ``` ## 开发模式运行 ```bash # 默认启动 npm run dev # 或指定主机和端口 npm run dev -- --host 0.0.0.0 --port 3001 ``` 前端服务将运行在 `http://localhost:3001` ## 生产模式构建 ```bash npm run build ``` 构建后的文件将生成在 `client/dist` 目录 ```bash npm run preview ``` ## 部署说明 ```bash npm run build ``` 2. **部署到服务器** - 将 `dist` 目录下的所有文件复制到服务器的静态文件目录 ## 配置说明 ### API配置 API基础URL配置在 `src/services/api.js` 文件中,默认指向 `http://localhost:3000/api`。 ### 环境变量 可以通过 `.env` 文件配置环境变量: ```env VITE_API_BASE_URL=http://your-api-url/api ``` ## 许可证 AGPL-3.0