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:
12
index.html
Normal file
12
index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>RSC App</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/entry-client.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user