feat: initialize React app with TanStack Router and Vitest for testing
- Added App component with basic structure and styling. - Included CSS for app layout and animations. - Integrated TanStack Router for routing management. - Set up Vitest for testing with a basic test case for the App component. - Added logo SVG for branding. - Configured Vite for development with React and TanStack Devtools. - Created reportWebVitals utility for performance measurement. - Established global styles in styles.css.
This commit is contained in:
20
my-app/index.html
Normal file
20
my-app/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-tsrouter-app"
|
||||
/>
|
||||
<link rel="apple-touch-icon" href="/logo192.png" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<title>Create TanStack App - my-app</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user