From 927706b66865c0868680817a215d1750fe28a212 Mon Sep 17 00:00:00 2001 From: Januda Bethmin Date: Mon, 2 Sep 2024 00:27:55 +0530 Subject: [PATCH 1/3] Update README.md [skip ci] --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 207317a51..b86bbed9d 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,17 @@ If you wish to add a custom domain, no CNAME file is required. Just add it to yo As this is a Vite project, you can also host your website to Netlify, Vercel, Heroku, or other popular services. Please refer to this [doc](https://vitejs.dev/guide/static-deploy.html) for a detailed deployment guide to other services. +> ![IMPORTANT] +> If you are going to deploy using **Vercel**, remember to set the `base` as `/`. + ```ts + // gitprofile.config.ts + { + base: '/', + // ... + } + ``` + + [**Not working?**](https://github.com/arifszn/gitprofile/discussions/548) ### Setting up locally From c09ebea9883270fde3e8abe21f70c5b62bc8e488 Mon Sep 17 00:00:00 2001 From: Januda Bethmin Date: Mon, 2 Sep 2024 00:30:16 +0530 Subject: [PATCH 2/3] Vercel deployment common issue documented --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b86bbed9d..2f8d06cda 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,8 @@ If you wish to add a custom domain, no CNAME file is required. Just add it to yo As this is a Vite project, you can also host your website to Netlify, Vercel, Heroku, or other popular services. Please refer to this [doc](https://vitejs.dev/guide/static-deploy.html) for a detailed deployment guide to other services. -> ![IMPORTANT] + +> [!NOTE] > If you are going to deploy using **Vercel**, remember to set the `base` as `/`. ```ts // gitprofile.config.ts From ba6d78ceacc2f5bf75e59b7f96d50f79d1109623 Mon Sep 17 00:00:00 2001 From: Januda Bethmin Date: Mon, 2 Sep 2024 16:23:02 +0530 Subject: [PATCH 3/3] prettier fix done --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2f8d06cda..a94ccb406 100644 --- a/README.md +++ b/README.md @@ -105,17 +105,16 @@ If you wish to add a custom domain, no CNAME file is required. Just add it to yo As this is a Vite project, you can also host your website to Netlify, Vercel, Heroku, or other popular services. Please refer to this [doc](https://vitejs.dev/guide/static-deploy.html) for a detailed deployment guide to other services. - > [!NOTE] > If you are going to deploy using **Vercel**, remember to set the `base` as `/`. - ```ts - // gitprofile.config.ts - { - base: '/', - // ... - } - ``` +```ts +// gitprofile.config.ts +{ + base: '/', + // ... +} +``` [**Not working?**](https://github.com/arifszn/gitprofile/discussions/548)