This guide walks you from an empty directory to a fully running local development server for Portfolio Moderno. By the end you will have the Vite dev server running atDocumentation 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.
http://localhost:3000 with hot-module replacement enabled, ready for you to explore or customise the project.
Prerequisites
Portfolio Moderno requires Node.js 18 or newer. Verify your installed version before continuing:The output should be
v18.x.x or higher. If not, download the latest LTS release from nodejs.org.Start the Dev Server
Launch the Vite development server with hot-module replacement:The server binds to port 3000 as configured in
vite.config.ts under server.port: 3000. It also listens on host: '0.0.0.0', making it reachable from other devices on the same local network.Available Scripts
The following scripts are defined inpackage.json and can be run with npm, yarn, or bun:
| Script | Command | Description |
|---|---|---|
dev | npm run dev | Start the Vite development server with HMR on port 3000 |
build | npm run build | Transpile and bundle the app for production into dist/ via vite build |
preview | npm run preview | Serve the production build locally to verify the output before deploying |
Path Aliases
Vite is configured with a@/ path alias that resolves to the src/ directory. This is set up in vite.config.ts under resolve.alias:
@/ keeps imports clean and refactoring-safe — you never need relative ../../../ chains regardless of how deeply nested a component is.