mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-04 16:48:11 +08:00
refactor: 将 WebUI 源码纳入仓库,移除打包产物
- 新增 webui/ 前端源码目录(React+Vite+TypeScript+Tailwind) - 删除 api/webui/ 中旧的打包静态资源 - 更新 .gitignore 忽略 api/webui/ 构建输出和 webui/node_modules - 更新 README 增加前端构建说明
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Terminal } from '@/components/console/Terminal'
|
||||
import { useLogWebSocket } from '@/hooks/useWebSocket'
|
||||
|
||||
export function MainContent() {
|
||||
// Connect to WebSocket for logs
|
||||
useLogWebSocket()
|
||||
|
||||
return (
|
||||
<main className="flex-1 flex flex-col overflow-hidden min-h-0 relative z-10">
|
||||
<Terminal />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user