Merge pull request #646 from itzzjb/os-contribution

Documenting the Vercel deployment issure - Black Page
This commit is contained in:
Ariful Alam 2024-09-02 16:54:42 +06:00 committed by GitHub
commit 181ebed8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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. 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: '/',
// ...
}
```
[**Not working?**](https://github.com/arifszn/gitprofile/discussions/548) [**Not working?**](https://github.com/arifszn/gitprofile/discussions/548)
### Setting up locally ### Setting up locally