Understand the plugin-component project structure
v3The plugin-component project is structured to demonstrate different types of remote components that can be loaded by the main MoviePilot application. The core components include:
Page.vue: The plugin details page component.Config.vue: The plugin configuration page component.Dashboard.vue: The plugin dashboard component.AppPage.vue: A sidebar full-page component (used as the main content area whennav_key=main).AppPageSettings.vue: An optional second full-page component (loaded by the main application whennav_key=settings, demonstrating the 'one plugin, multiple full-page interfaces' capability).
plugin-component/
├── src/
│ ├── components/
│ │ ├── Page.vue # 插件详情页面组件
│ │ ├── Config.vue # 插件配置页面组件
│ │ ├── Dashboard.vue # 插件仪表板组件
│ │ ├── AppPage.vue # 侧栏全页(主内容区,nav_key=main)
│ │ └── AppPageSettings.vue # 可选第二全页(nav_key=settings)
│ ├── App.vue # 本地开发入口组件
│ └── main.js # 本地开发入口文件
├── vite.config.js # Vite和模块联邦配置
├── index.html # 本地开发HTML入口
└── package.json # 依赖配置