docs: define unified local postgraduate workbench

This commit is contained in:
Codex
2026-10-11 13:34:56 +08:00
commit 25cccd4372
9 changed files with 247 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"name": "kaoyan-studio-ui",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {"dev": "vite --host 127.0.0.1", "build": "tsc --noEmit && vite build", "test": "vitest run"},
"dependencies": {"react": "^19.3.0", "react-dom": "^19.3.0", "lucide-react": "^0.577.0"},
"devDependencies": {"@types/react": "^19", "@types/react-dom": "^19", "@vitejs/plugin-react": "^6", "typescript": "^6", "vite": "^8.3.4", "vitest": "^4"}
}
+2
View File
@@ -0,0 +1,2 @@
{"compilerOptions":{"target":"ES2022","lib":["ES2022","DOM","DOM.Iterable"],"module":"ESNext","moduleResolution":"bundler","jsx":"react-jsx","strict":true,"skipLibCheck":true,"noEmit":true,"allowImportingTsExtensions":true},"include":["src","vite.config.ts"]}
+4
View File
@@ -0,0 +1,4 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({plugins:[react()],server:{proxy:{'/api':'http://127.0.0.1:8765'}},build:{sourcemap:false}});