基于react的jsx写法

This commit is contained in:
2026-03-18 18:46:28 +08:00
parent 3c4a11eca8
commit 04ea889d75
23 changed files with 299 additions and 1416 deletions

View File

@@ -1,38 +1,21 @@
{
"name": "ai-workflow-frontend",
"private": true,
"name": "ai-chat-frontend",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zustand": "^4.4.1",
"axios": "^1.5.0",
"react-virtuoso": "^4.6.2",
"react-markdown": "^8.0.7",
"lucide-react": "^0.284.0",
"clsx": "^2.0.0",
"tailwind-merge": "^1.14.0"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"autoprefixer": "^10.4.14",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"postcss": "^8.4.27",
"tailwindcss": "^3.3.3",
"typescript": "^5.0.2",
"vite": "^4.4.5"
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.8"
}
}