Cursor Agent c0ee998874 feat: 实现PWA状态管理防止iOS后台被杀
- 添加多层存储策略(localStorage + sessionStorage + IndexedDB + Service Worker缓存)
- 实现智能状态恢复决策机制
- 自动监听页面生命周期事件进行状态保存和恢复
- 支持表单数据、滚动位置、UI状态的自动保存
- 专为iOS设备PWA优化,解决后台被杀导致状态丢失的问题
- 版本号更新至 2.6.3
2025-07-06 06:52:18 +00:00
2025-07-05 06:49:58 +08:00

MoviePilot-Frontend

中文 | English

Frontend project for MoviePilot, NodeJS version required: >= v20.12.1.

Features

  • Modern interface built with Vue 3 and Vuetify 3
  • Fast development experience with Vite build tool
  • Multi-language support (Chinese/English)
  • Complete plugin system with dynamic remote component loading

Module Federation

MoviePilot now supports Module Federation, allowing plugin developers to create dynamically loadable remote components for richer plugin user interfaces.

Documentation

Development

VSCode + Volar (disable Vetur).

Configure Vite

See Vite Configuration Reference.

Install Dependencies

yarn

Development Server

yarn dev

Build for Production

yarn build

Static Deployment

  1. Host the dist static files using a web server like nginx. Refer to public/nginx.conf for nginx configuration.

  2. Alternatively, run the service.js directly with the node command. It listens on port 3000 by default. Set the NGINX_PORT environment variable to adjust the port.

node dist/service.js
Description
MoviePilot前端
Readme MIT 56 MiB
Languages
Vue 69.7%
TypeScript 26.5%
SCSS 3%
HTML 0.7%