mirror of
https://github.com/tiennm99/gsd-framework.git
synced 2026-05-26 22:01:05 +00:00
3e61fa2fd4
- Initialize Vite project with vanilla-ts configuration - Add TypeScript with strict mode enabled - Configure Vitest for testing - Create index.html with Canvas element - Add main.ts entry point with canvas setup - Add setup tests for project dependencies Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
642 B
HTML
30 lines
642 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Pikachu Match Game</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background-color: #1a1a2e;
|
|
}
|
|
#game {
|
|
border-radius: 8px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas id="game"></canvas>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|