From 741e8ff6cdb9914909669af0c05b6c1b869b4ea0 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Tue, 22 Mar 2022 02:50:29 +0600 Subject: [PATCH] Add instruction for base value in vite.config.js --- vite.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vite.config.js b/vite.config.js index 62db4ef..fc4198e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,8 @@ import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ + // If you are deploying to https://.github.io/, set base to '/'. + // If you are deploying to https://.github.io//, for example your repository is at https://github.com//, then set base to '//'. base: '/gitprofile/', plugins: [react()], });