Skip to content

Commit b987760

Browse files
Add vite config
1 parent ff96911 commit b987760

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ <h1>Country Growth Profiles</h1>
2828
<div id="legend"></div>
2929
</div>
3030
</div>
31-
<script type="module" src="/src/main.ts"></script>
31+
<script type="module" src="./src/main.ts"></script>
3232
</body>
3333
</html>

vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from 'vite';
2+
3+
export default defineConfig({
4+
base: '/special-operations/',
5+
});

0 commit comments

Comments
 (0)