PWA Export
PWA Export lets you download the compiled web files for your app and host them wherever you want. This costs 20,000 tokens per export. You’re only charged when the export completes successfully — failed exports cost nothing.
How to export
Section titled “How to export”-
Open the Publish section
Go to Workspace → Publish → Web tab → Export tab.
-
Click “Export PWA”
The export build starts immediately.
-
Wait for the build
Takes about 3 minutes.
-
Download the zip file
Click the download link to save the zip to your computer.
What you get
Section titled “What you get”The zip contains a Flutter web build output: HTML, CSS, JavaScript, and all assets your app needs. It’s a complete, self-contained static site.
Running locally
Section titled “Running locally”Extract the zip and serve the files with any local HTTP server.
cd my-app-exportpython3 -m http.server 8080Open http://localhost:8080 in your browser.
cd my-app-exportnpx serve .The URL is printed in your terminal.
Self-hosting
Section titled “Self-hosting”Deploy the extracted files to any static hosting provider:
- Vercel — drag and drop the folder, or connect via CLI
- Netlify — drag and drop in the Netlify dashboard
- Firebase Hosting —
firebase deployfrom the CLI - AWS S3 + CloudFront — upload to an S3 bucket with static website hosting enabled
- Any web server — Nginx, Apache, or any server that can serve static files
No server-side runtime is needed. It’s all static files.
PWA Export vs. Web Hosting
Section titled “PWA Export vs. Web Hosting”| Web Hosting | PWA Export | |
|---|---|---|
| Cost | Free | 20,000 tokens |
| Hosting | Primio-managed | You host it |
| Custom domain | No | Yes |
| Full control | No | Yes |
| Setup effort | None | You configure hosting |
Use Web Hosting when you want the fastest, simplest way to share your app. Use PWA Export when you need your own domain, custom server configuration, or full control over deployment.