Skip to content

Commit c8498f0

Browse files
committed
try gh pages deploy
1 parent 3c4d275 commit c8498f0

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pnpm-debug.log*
88
lerna-debug.log*
99

1010
node_modules
11-
# dist
11+
dist
1212
dist-ssr
1313
*.local
1414

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>WebGPU Viewer</title>
6-
<script type="module" crossorigin src="/assets/index-CqiZ_FWI.js"></script>
6+
<script type="module" crossorigin src="/WebGPU-Cube/assets/index-CqiZ_FWI.js"></script>
77
</head>
88
<body style="background-color: rgb(45, 45, 45)">
99
<canvas id="viewport"></canvas>

vite.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineConfig } from "vite";
2+
3+
export default defineConfig({
4+
base: "/WebGPU-Cube/",
5+
build: {
6+
outDir: "docs",
7+
},
8+
});

0 commit comments

Comments
 (0)