diff --git a/package.json b/package.json index 55b1ffc..1c89f90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "cv-vite", "private": true, + "homepage": "https://xurion.github.io/cv", "version": "0.0.0", "type": "module", "scripts": { diff --git a/vite.config.ts b/vite.config.ts index e214f89..3d83ffb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,5 +3,6 @@ import react from '@vitejs/plugin-react-swc'; // https://vitejs.dev/config/ export default defineConfig({ + base: "/cv/", // Hosted on GitHub pages plugins: [react()], });