feat: add react-router-dom for routing and implement plugin detail view

- Updated package.json to include react-router-dom dependency.
- Refactored App component to use React Router for navigation.
- Created PluginDetail component to display detailed information about a selected plugin.
- Added fetch functions for releases and commits in the server code.
- Enhanced UI with new styles for dark mode and improved layout.
- Implemented caching for API responses to optimize performance.
This commit is contained in:
2026-01-31 19:48:44 +00:00
parent 561f7fb5f2
commit 81d1d0910c
7 changed files with 2818 additions and 2383 deletions

View File

@@ -13,7 +13,8 @@
"dependencies": {
"express": "^4.19.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.0",