Cursor Agent e7e1b4c43f fix: PWA状态管理器初始化在DOM已加载时失败的问题
- 修复DOMContentLoaded事件监听器可能不触发的问题
- 检查document.readyState状态,如果DOM已就绪则立即初始化
- 确保PWA状态管理器在所有情况下都能正确初始化
- 解决main.ts作为模块加载时的时序问题
2025-07-06 06:58:15 +00:00
2025-06-03 10:39:34 +08:00
2025-05-24 17:19:43 +08:00
2025-07-05 06:49:58 +08:00
2025-05-08 19:48:35 +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 38 MiB
Languages
Vue 66.9%
TypeScript 29.3%
SCSS 3.1%
HTML 0.6%