feat: 初始化 Vite React 聊天应用骨架
搭建 React + Vite + React Router + TailwindCSS + Ant Design 基础工程,并通过 vite-plugin-pages 实现文件路由。新增首页响应式聊天布局,移动端在小于 750px 时使用左侧抽屉侧边栏。 Made-with: Cursor
This commit is contained in:
32
package.json
Normal file
32
package.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "chat-one-web",
|
||||
"version": "1.0.0",
|
||||
"description": "ChatOne web端",
|
||||
"type": "module",
|
||||
"repository": "git@github.com:alboped/chat-one-web.git",
|
||||
"author": "alboped <shi_zhaojun@aliyun.com>",
|
||||
"license": "UNLICENSED",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"antd": "^6.3.5",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-router-dom": "^7.13.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.2.2",
|
||||
"@types/node": "^25.5.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.1",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"typescript": "^6.0.2",
|
||||
"vite": "^8.0.3",
|
||||
"vite-plugin-pages": "^0.33.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user