Add instruction for base value in vite.config.js
This commit is contained in:
parent
ebc01a51f9
commit
741e8ff6cd
@ -3,6 +3,8 @@ import react from '@vitejs/plugin-react';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
// If you are deploying to https://<USERNAME>.github.io/, set base to '/'.
|
||||
// If you are deploying to https://<USERNAME>.github.io/<REPO>/, for example your repository is at https://github.com/<USERNAME>/<REPO>, then set base to '/<REPO>/'.
|
||||
base: '/gitprofile/',
|
||||
plugins: [react()],
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user