Files
test-rsc-2/package.json
abearxiong 11e75d0e11 feat: add initial implementation of Vite + RSC application
- Created a new SVG logo for Vite.
- Added a List component for rendering a simple list.
- Implemented server-side counter functionality with actions.
- Introduced a React SVG logo for branding.
- Developed a ClientCounter component for client-side state management.
- Set up entry points for RSC and SSR rendering.
- Established error boundary for global error handling.
- Created request handling utilities for differentiating RSC and SSR requests.
- Added global styles for the application.
- Built the main application structure in the Root component.
- Configured Vite with RSC and React plugins for optimal development experience.
2026-04-14 09:27:24 +08:00

25 lines
528 B
JSON

{
"name": "@vitejs/plugin-rsc-examples-starter",
"version": "0.0.0",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
"devDependencies": {
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"rsc-html-stream": "^0.0.7",
"vite": "^8.0.8"
}
}