Go(Gin) + React(Vite + shadcn/ui + Tailwind) 前后端分离,全中文 UI - 集群管理:Kubeconfig / Token 双接入,kubectl + helm 部署 - 主机管理:SSH 密钥 / 密码双认证,CPU/内存/磁盘使用率监控,SSH 错误中文友好提示 - 存储配置、部署管理、系统设置 - Docker 镜像内置 kubectl + helm,开箱即用 - run.sh 一键启停(start/stop/restart/status) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
1.4 KiB
Markdown
31 lines
1.4 KiB
Markdown
Using Node.js 20, Tailwind CSS v3.4.19, and Vite v7.2.4
|
|
|
|
Tailwind CSS has been set up with the shadcn theme
|
|
|
|
Setup complete: /mnt/agents/output/app
|
|
|
|
Components (40+):
|
|
accordion, alert-dialog, alert, aspect-ratio, avatar, badge, breadcrumb,
|
|
button-group, button, calendar, card, carousel, chart, checkbox, collapsible,
|
|
command, context-menu, dialog, drawer, dropdown-menu, empty, field, form,
|
|
hover-card, input-group, input-otp, input, item, kbd, label, menubar,
|
|
navigation-menu, pagination, popover, progress, radio-group, resizable,
|
|
scroll-area, select, separator, sheet, sidebar, skeleton, slider, sonner,
|
|
spinner, switch, table, tabs, textarea, toggle-group, toggle, tooltip
|
|
|
|
Usage:
|
|
import { Button } from '@/components/ui/button'
|
|
import { Card, CardHeader, CardTitle } from '@/components/ui/card'
|
|
|
|
Structure:
|
|
src/sections/ Page sections
|
|
src/hooks/ Custom hooks
|
|
src/types/ Type definitions
|
|
src/App.css Styles specific to the Webapp
|
|
src/App.tsx Root React component
|
|
src/index.css Global styles
|
|
src/main.tsx Entry point for rendering the Webapp
|
|
index.html Entry point for the Webapp
|
|
tailwind.config.js Configures Tailwind's theme, plugins, etc.
|
|
vite.config.ts Main build and dev server settings for Vite
|
|
postcss.config.js Config file for CSS post-processing tools |