Despliega tu app de Nuxt
Nuxt 3's default build target is a Node server, not static files — so the command that gets you a folder of HTML isn't the one in the getting-started guide. generate is the one you want.
- 01
Run generate, not build
"npm run build" produces a Node server (".output/server"). "npm run generate" pre-renders every route to static HTML instead — that's the one this host needs.
- 02
Find the output folder
Nuxt 3 writes static output to ".output/public". If you're still on Nuxt 2, "nuxt generate" writes to "dist" instead.
- 03
Despliégalo
Ejecuta "npx harvis deploy .output/public" desde la raíz de tu proyecto. Sin configuración y sin iniciar sesión para este primer despliegue — consigues una URL en vivo al instante, más un enlace privado de reclamación para vincular el sitio a una cuenta gratuita cuando quieras.
Despliega Nuxt con un comando
Compila tu proyecto y entrégale la carpeta de salida a harvis. No hace falta cuenta para este primer despliegue — consigues un enlace en vivo y un enlace privado de reclamación para gestionarlo más tarde.
npm run generate npx harvis deploy .output/public
¿Prefieres arrastrar archivos en vez de usar una terminal? Compila el proyecto y suelta la carpeta de salida aquí para publicarla igual.
Preguntas sobre desplegar Nuxt
I ran npm run build by mistake — what changes?
That produced a ".output/server" folder meant to run under Node — it has no index.html and won't serve as static files. Run "npm run generate" instead; it pre-renders the same app to ".output/public".
Do dynamic routes and Nuxt's server API routes work?
Page routes work if Nuxt can enumerate them at generate time (static or with a "nitro.prerender.routes" list for dynamic segments). API routes under "server/api" need a server to run and won't work here — call an external API from the client instead.
¿Desplegar una app de Nuxt en harvis es realmente gratis?
Sí, sin tarjeta. Los límites gratuitos son 500 archivos y 50 MB por sitio, de sobra para un build estático de Nuxt. Los sitios publicados no caducan — siguen en vivo hasta que los elimines.
¿Puedo usar mi propio dominio con el sitio de Nuxt desplegado?
Cada sitio recibe una dirección harvis.dev gratuita, y puedes elegir tu propio subdominio desde el panel tras reclamarlo — mi-app.harvis.dev en vez de uno aleatorio. Apuntar un dominio que ya tengas (como mitienda.com) al sitio todavía no está disponible.
¿En qué se diferencia esto de desplegar Nuxt en Vercel o Netlify?
Vercel y Netlify giran en torno a conectar un repositorio Git y ejecutar tu build en sus servidores, con un panel para configurarlo. harvis se salta todo eso: compilas en local (o en tu propio CI), ejecutas un comando de la CLI contra la carpeta de salida y obtienes un enlace — sin configurar un proyecto, y sin necesidad de cuenta hasta que quieras conservar el sitio.
¿Vas a desplegar otra cosa?
La receta es la misma en todas partes — compílalo y luego npx harvis deploy la salida.