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.
This commit is contained in:
2026-04-14 09:27:24 +08:00
commit 11e75d0e11
18 changed files with 1524 additions and 0 deletions

4
public/vite.svg Normal file
View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="45" fill="#646cff"/>
<text x="50" y="60" text-anchor="middle" fill="white" font-size="40">V</text>
</svg>

After

Width:  |  Height:  |  Size: 200 B