mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-12 09:05:28 +08:00
e2d26f6a2571834e8f76ce18e118cf99a1d0c534
- 简化 refreshSearch:移除多余的 switchToOriginalResults 调用, 直接置 showingAiResults=false,其余状态由 fetchData 内部重置 - 标题栏 v-if 去掉 !progressActive 条件,避免点击重新搜索时 整个标题栏 unmount 导致按钮 :loading 不可见、页面跳动
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
48%
TypeScript
47.3%
SCSS
3.8%
HTML
0.6%
JavaScript
0.3%