How to deploy a Nuxt site for free, from nuxt generate
Quick answer
To deploy a Nuxt site for free, run npx nuxt generate and drop the public folder inside .output on Convika's upload screen. Convika serves it at its own address, such as my-app.convika.page, with every prerendered route at its own path and Nuxt's 404.html starting the app for any other route. Sign up free, with no credit card and no Git.
Free plan: no credit card, 5 published pages, 10,000 page views a month.
On this page
To deploy a Nuxt site for free, run npx nuxt generate and drop the public folder inside .output on Convika's upload screen. Convika serves it as a site at its own address, such as my-app.convika.page: each prerendered route opens its own HTML file, the _nuxt chunks load from their own paths, and any other route gets Nuxt's 404.html, which starts the app. No Git, no server, and no credit card.
What to build, and the folder to drop
nuxt generate prerenders every route of your app to HTML and writes the site, with its JavaScript, to .output/public. That folder is the whole site, and it is the only thing you upload.
| Your project | Build command | Folder to drop |
|---|---|---|
| Nuxt 3 or 4 | npx nuxt generate (or npm run generate) | .output/public |
Nuxt with ssr: false | npx nuxt generate | .output/public |
Drop the public folder, not .output
Drop public itself. A name that starts with a dot is hidden, and Convika never puts hidden files or folders on a site, so a drop of .output shows "No .html file found."
On a Mac, Finder hides .output: press Command, Shift, and the period key in the project folder to show it. Or make a .zip of the folder from the terminal and drop that:
cd .output/public && zip -r ../../site.zip . && cd ../..
Deploy a Nuxt site in 5 steps
1. Generate the site
In the project folder, run:
npm install
npx nuxt generate
Nuxt prerenders each route it finds from your links and lists them, and .output/public holds the site.
2. Sign up free
Sign up free, with no credit card. Convika opens the upload screen, Put your page or file online.
3. Drop .output/public
Drop the public folder from .output, or site.zip, on Drop a file or folder here, or click Choose a folder. Convika reads it in your browser and shows "Uploads as a site" with the number of files. Under Site URL, Convika offers a free name such as my-app.convika.page; type another to check it. Click Create my preview.
4. Check the private preview
Convika uploads the files and opens a private preview of the whole site. Click through the routes, reload one, and open a route with a parameter, on your computer and your phone.
5. Publish it
Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, cancel any time before it ends. To publish on Free, click Publish free. The site is live at my-app.convika.page.
Every route opens, on reload too
Nuxt writes a prerendered route such as /about to .output/public/about/index.html, with its data in a _payload.json beside it. Convika answers /about/ with that file, and /about gets the slash added first. Nuxt also writes 200.html and 404.html, the single-page app fallbacks. A route Nuxt didn't prerender, such as /users/42, gets 404.html, which loads the app, and the app's router shows the route.
Update the site at the same address
Run npx nuxt generate again. In Convika, open the site's page screen. Under Update from an HTML file, click Upload a new version and drop the new public folder, or a new site.zip. Click Upload as a new version, open the preview, then click Publish v2 at the same link and confirm with Publish. The address stays the same, and each earlier version keeps its own files, so you can go back to one.
What Free includes, and what Pro adds
| Free | Pro | |
|---|---|---|
| Price | No credit card | 7 days free, then $12 a month |
| Sites live at once | 5 | 100 |
| Page views a month | 10,000 | 100,000 |
| A site's files together | 100 MB | 5 GB |
| Each HTML page | 4 MB | 4 MB |
| Who can open it | Public | Public, Private link, or Only people with the password |
| Convika bar | On each page | None |
A password or a private link covers every route of the site. Every page counts its visitors in your dashboard: where they came from and what they clicked.
Frequently asked questions
How do I deploy a Nuxt site for free?
Run npx nuxt generate, then sign up free on Convika and drop the public folder inside .output on the upload screen. Click Create my preview, and publish with Publish page, Public, Next, and Publish free. The Free plan needs no credit card.
Which folder do I upload?
.output/public: drop the public folder itself, or a .zip of what is inside it.
Why does Convika say no .html file was found?
The drop was .output. Convika leaves out every file and folder whose name starts with a dot, so it finds no page there. Drop the public folder inside .output.
Does a route that wasn't prerendered work?
Yes. Convika answers it with Nuxt's 404.html, which loads the app, and Nuxt's router shows the route.
Do I need nuxt build or a Node server?
No. nuxt generate makes plain files, and Convika serves them. Nothing runs on a server.
Do I need Git or GitHub?
No. Drop the folder or a .zip straight from your computer. Nothing to push.
Next step
How to password protect an HTML page or website
A JavaScript password sits in the page source. Free: StatiCrypt or .htaccess. Paid: Netlify Pro $20, Vercel $20 a project, Tiiny Host $18, or Convika Pro.
Related articles
- How to deploy a Vue app for free, from create-vue or Vue CLIDeploy a Vue app free: run npm run build, drop the dist folder on Convika, and get a live link. No Git, no card. The Vue Router and image settings inside.
- How to deploy a Next.js static export for free, from the out folderDeploy a Next.js static export free: set output: 'export', run next build, drop the out folder on Convika, and get a live site at its own address. No card.
- How to deploy an Astro site for free, from its dist folderDeploy an Astro site free: run npm run build, drop the dist folder on Convika, and get a live site at its own address. Every page at its path, no Git, no card.
- How to deploy an Angular app for free, from dist/browserDeploy an Angular app free: run ng build, drop the browser folder from dist on Convika, and get a live app. Router paths open on reload with no rewrite rule.
- ZIP to website: upload a .zip file and get a link that opens as a pageDrop a .zip with index.html, CSS, JavaScript, and images here and get a link in seconds, free. A whole site or a built app goes up as a site at its own address.
- How to host a website: the free way, step by stepPut your site's files on a host and point your domain at it. 3 ways compared, then the free route: upload to Convika, publish, and connect your own domain.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial