After runningDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nicolasgrajaleshoyos/portafolio/llms.txt
Use this file to discover all available pages before exploring further.
npm run build, the dist/ directory contains a fully static site — plain HTML, CSS, and JavaScript with no server-side dependencies. This means it can be deployed to any static hosting platform in seconds. This page walks through the three most common options: Vercel, Netlify, and GitHub Pages, including how to handle SPA routing on each one.
- Vercel
- Netlify
- GitHub Pages
Vercel detects Vite projects automatically and requires no extra configuration files. It sets the framework preset and output directory for you.Deploy via the Vercel CLIDeploy via the Vercel DashboardAlternatively, connect the GitHub repository directly in the Vercel dashboard. Set the framework preset to Vite and the output directory to
Run the initial deploy
From the project root, run the
vercel command. The CLI will prompt you to link the project to your Vercel account and confirm the detected settings (framework: Vite, output directory: dist).dist. After that, every push to the main branch triggers an automatic production deploy — no CLI needed.Vercel handles SPA routing (redirecting 404s back to
index.html) automatically for Vite projects. No vercel.json rewrites configuration is needed for Portfolio Moderno.Custom Domain
All three platforms support pointing a custom domain (for examplenicolasgrajaleshoyos.dev) to your deployed site via their respective dashboards — no changes to the Portfolio Moderno source code are required.
- Vercel and Netlify: add the custom domain in the project’s domain settings. Both platforms provision a TLS certificate automatically via Let’s Encrypt.
- GitHub Pages: add the domain under Settings → Pages → Custom domain, then create a
CNAMEDNS record pointing to<username>.github.io. If you use a custom domain with GitHub Pages, change thebaseoption invite.config.tsback to'/'so that asset paths are generated relative to the domain root rather than the repository sub-path.