Files
MemoryBear/web
Ke Sun 940c594066 Release/v0.2.3 (#281)
* feat(app and model): token consumption statistics of the cluster

* fix(web): prompt history remove pageLoading

* fix(prompt): remove hard-coded import of prompt file paths (#279)

* Fix/develop memory bug (#274)

* 遗漏的历史映射

* 遗漏的历史映射

* fix_timeline_memories

* fix(web): update retrieve_type key

* Fix/develop memory bug (#276)

* 遗漏的历史映射

* 遗漏的历史映射

* fix_timeline_memories

* fix_timeline_memories

* write_gragp/bug_fix

* write_gragp/bug_fix

* write_gragp/bug_fix

* chore(celery): disable periodic task scheduling

* fix(prompt): remove hard-coded import of prompt file paths

---------

Co-authored-by: lixinyue11 <94037597+lixinyue11@users.noreply.github.com>
Co-authored-by: zhaoying <yzhao96@best-inc.com>
Co-authored-by: yingzhao <zhaoyingyz@126.com>
Co-authored-by: Ke Sun <kesun5@illinois.edu>

---------

Co-authored-by: Timebomb2018 <18868801967@163.com>
Co-authored-by: Mark <zhuwenhui5566@163.com>
Co-authored-by: zhaoying <yzhao96@best-inc.com>
Co-authored-by: Eternity <61316157+myhMARS@users.noreply.github.com>
Co-authored-by: lixinyue11 <94037597+lixinyue11@users.noreply.github.com>
Co-authored-by: yingzhao <zhaoyingyz@126.com>
2026-02-03 10:33:39 +08:00
..
2026-02-03 10:33:39 +08:00
2025-12-24 12:05:36 +08:00
2026-01-08 19:46:02 +08:00
2025-12-15 07:16:19 +00:00
2025-12-22 10:46:19 +08:00
2025-12-04 18:50:09 +08:00
2025-12-24 12:23:55 +08:00

Memory Bear 前端项目

基于 React + TypeScript + Vite + Ant Design 构建的知识库管理系统前端应用。

技术栈

  • 框架: React 18 + TypeScript
  • 构建工具: Vite
  • UI 组件库: Ant Design 5
  • 样式: Tailwind CSS 4
  • 路由: React Router 6
  • 状态管理: Zustand
  • 国际化: i18next
  • 图表: ECharts
  • 其他: React Markdown

环境要求

  • Node.js >= 20.19+, 22.12+
  • npm 或 yarn

安装

# 克隆项目
git clone <repository-url>

# 进入项目目录
cd memory-bear-font-end

# 安装依赖
npm install

运行

开发环境

npm run dev

启动后访问: http://localhost:5173

生产构建

npm run build

构建产物输出到 dist 目录。

预览构建结果

npm run preview

代码检查

npm run lint

项目结构

src/
├── api/              # API 接口
├── assets/           # 静态资源
├── components/       # 公共组件
├── hooks/            # 自定义 Hooks
├── i18n/             # 国际化配置
├── routes/           # 路由配置
├── store/            # 状态管理
├── styles/           # 全局样式
├── utils/            # 工具函数
├── views/            # 页面视图
├── App.tsx           # 应用入口组件
└── main.tsx          # 应用入口文件

配置说明

  • 开发服务器默认监听 0.0.0.0:5173
  • API 代理配置在 vite.config.ts
  • 路径别名 @ 指向 src 目录

License

Private