Skip to content

Commit a9f4798

Browse files
committed
Update vite config to fix gh-pages deployment
1 parent bca140e commit a9f4798

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
base: '/Portfolio-Website-v2/',
78
resolve: {
89
alias: [
910
{ find: '@', replacement: '/src' }

0 commit comments

Comments
 (0)