docs: define unified local postgraduate workbench
This commit is contained in:
@@ -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"}
|
||||
}
|
||||
|
||||
@@ -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"]}
|
||||
|
||||
@@ -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}});
|
||||
|
||||
Reference in New Issue
Block a user