mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-26 01:51:41 +08:00
c0ee9988741eca4e43ca809a33004bc367260ef7
- 添加多层存储策略(localStorage + sessionStorage + IndexedDB + Service Worker缓存) - 实现智能状态恢复决策机制 - 自动监听页面生命周期事件进行状态保存和恢复 - 支持表单数据、滚动位置、UI状态的自动保存 - 专为iOS设备PWA优化,解决后台被杀导致状态丢失的问题 - 版本号更新至 2.6.3
…
…
…
…
…
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
- Module Federation Troubleshooting Guide - Common issues and solutions
- Plugin Remote Component Example - Complete example project for developing plugin components
Development
Recommended IDE Setup
VSCode + Volar (disable Vetur).
Configure Vite
See Vite Configuration Reference.
Install Dependencies
yarn
Development Server
yarn dev
Build for Production
yarn build
Static Deployment
-
Host the
diststatic files using a web server likenginx. Refer topublic/nginx.conffor nginx configuration. -
Alternatively, run the
service.jsdirectly with thenodecommand. It listens on port3000by default. Set theNGINX_PORTenvironment variable to adjust the port.
node dist/service.js
Languages
Vue
69.7%
TypeScript
26.5%
SCSS
3%
HTML
0.7%