jxxghp 89e4a68a03 feat: add ScrollToTopBtn component and integrate it into multiple pages
- Added ScrollToTopBtn component for smooth scrolling to the top of the page.
- Registered ScrollToTopBtn in main.ts.
- Integrated ScrollToTopBtn into browse.vue, discover.vue, recommend.vue, resource.vue pages.
- Updated components.d.ts to include ScrollToTopBtn type definition.
- Refactored MediaCard.vue and SlideView.vue for improved hover effects and styling.
- Cleaned up unused styles and optimized existing styles for better performance and readability.
2025-04-08 17:43:20 +08:00
2025-04-08 15:47:41 +08:00
2025-04-08 15:47:41 +08:00
2025-04-08 15:47:41 +08:00

MoviePilot-Frontend

MoviePilot 的前端项目NodeJS版本>= v20.12.1

推荐的IDE设置

VSCode + Volar (并禁用 Vetur).

配置Vite

请参阅 Vite 配置参考.

依赖安装

yarn

开发运行

yarn dev

编译打包

yarn build

静态运行

  1. 使用 nginx 等Web服务器托管 dist 静态文件nginx配置参考 public/nginx.conf

  2. 使用 node 命令直接运行service.js,默认监听 3000 端口,设置环境变量 NGINX_PORT 来调整运行端口。

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