jxxghp 28f38d8b80 Fix tab selection on discovery page (#353)
* Fix: Ensure first tab is selected when no valid tab is active

Co-authored-by: jxxghp <jxxghp@163.com>

* Fix discover page tab selection logic when no tab is active

Co-authored-by: jxxghp <jxxghp@163.com>

* Fix tab selection logic in discover page lifecycle hooks

Co-authored-by: jxxghp <jxxghp@163.com>

* Remove unnecessary onMounted hook in discover page

Co-authored-by: jxxghp <jxxghp@163.com>

* Move dynamic header tab registration after tabs initialization

Co-authored-by: jxxghp <jxxghp@163.com>

* Refactor dynamic header tab registration in discover page

Co-authored-by: jxxghp <jxxghp@163.com>

* Fix tab selection logic in discover page to ensure first tab is selected

Co-authored-by: jxxghp <jxxghp@163.com>

* Update useDynamicHeaderTab to sync modelValue in tab configuration

Co-authored-by: jxxghp <jxxghp@163.com>

* Remove auto-tab selection logic from discover page

Co-authored-by: jxxghp <jxxghp@163.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-07-05 16:41:24 +08:00
2025-07-05 06:49:58 +08:00
2025-07-05 12:13:53 +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%