WebGPU 游戏项目初始化 - 添加基础配置文件和源代码
This commit is contained in:
15
index.html
Normal file
15
index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>webgpu-game</title>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas"
|
||||
width="800px" height="600px"
|
||||
style="border: black; border-width: 1px; border-style: solid;"></canvas>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user