How to deploy an Angular app for free, from dist/browser
Quick answer
To deploy an Angular app for free, run ng build and drop the browser folder inside dist/<project-name> on Convika's upload screen. Convika serves it at its own address, such as my-app.convika.page, so base href stays '/', lazy-loaded chunks load from their own paths, and every router path opens on reload with no rewrite rule. 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 an Angular app for free, run ng build and drop the browser folder inside dist/<project-name> on Convika's upload screen. Convika serves it as a site at its own address, such as my-app.convika.page, so <base href="/"> stays as it is, the lazy-loaded chunks load from their own paths, and /settings opens the app on that route when someone reloads. No rewrite rule, no Git, and no credit card.
What to build, and the folder to drop
ng build compiles the app for production and writes it to dist/<project-name>. The browser folder in it holds index.html, the JavaScript chunks, the CSS, and your assets: that folder is the app, and it is the only thing you upload.
| Your project | Build command | Folder to drop |
|---|---|---|
| Angular 17 or later (application builder) | ng build | dist/<project-name>/browser |
Angular with npm scripts | npm run build | dist/<project-name>/browser |
ng build uses the production configuration by default.
Deploy an Angular app in 5 steps
1. Build the app
In the project folder, run:
npm install
ng build
The CLI lists the chunks with their sizes and prints "Output location:" with the folder.
2. Sign up free
Sign up free, with no credit card. Convika opens the upload screen, Put your page or file online.
3. Drop the browser folder
Drop browser from dist/<project-name> on Drop a file or folder here, or click Choose a folder. A .zip of the folder works too. 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 app. Move to a route, reload the page there, and open a lazy-loaded screen, 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 app is live at my-app.convika.page.
Router paths open on reload
The Angular Router writes real paths, such as /settings/profile, with PathLocationStrategy, its default. A reload asks the server for that path, and a static host needs a rule that sends it to index.html. Convika has that rule built in: a path with no file extension that the app has no file for gets index.html, and the Router shows the route. Keep the router as it is; useHash: true isn't needed.
A missing file, such as /assets/missing.png, gets a 404.
Base href stays /
The app opens at the root of its own address, so <base href="/"> in src/index.html is right, and --base-href isn't needed. The chunks Angular loads for lazy routes, chunk-*.js, load from the root of the site.
Update the app at the same address
Run ng build again. In Convika, open the app's page screen. Under Update from an HTML file, click Upload a new version and drop the new browser folder, or its .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 |
| Apps live at once | 5 | 100 |
| Page views a month | 10,000 | 100,000 |
| An app'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 | Yes | No |
A password or a private link covers every path of the app, for an internal tool or a client demo. Every app counts its visitors in your dashboard: where they came from and what they clicked.
Frequently asked questions
How do I deploy an Angular app for free?
Run ng build, then sign up free on Convika and drop the browser folder from dist/<project-name> 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?
dist/<project-name>/browser, the folder with index.html in it. The folder above it holds 3rdpartylicenses.txt and, for a server-rendered app, a server folder that a static site doesn't use.
Does refreshing a route show a 404?
No. A reload of /settings asks for a file of that name, and Convika answers any such path with index.html, so the Router opens the route.
Do I need to change base href?
No. <base href="/"> is right, since the app opens at the root of <name>.convika.page.
Do lazy-loaded routes work?
Yes. Each lazy route's chunk is its own file in browser, and Convika serves it from its own path.
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 React app for free, from Vite or Create React AppDeploy a React app free: run npm run build, drop the dist or build folder on Convika, and get a live link. No Git, no card. Routing and image settings inside.
- 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 Flutter web app for free, from build/webDeploy a Flutter web app free: run flutter build web, drop the build/web folder on Convika, and get a live link for your app. Wasm builds work, no Firebase setup.
- How to deploy a Nuxt site for free, from nuxt generateDeploy a Nuxt site free: run nuxt generate, drop the .output/public folder on Convika, and get a live site at its own address. Routes open on reload, no card.
- 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