Developer builds one Vue app that runs on desktop, Android, and web simultaneously
A developer created a single Vue.js Reddit client that runs as a desktop app via Tauri (Rust), an Android app via Capacitor, and a standard web app — all from one codebase. The project uses one shared UI, a unified Reddit API integration, and a single OAuth flow targeting three platforms. Key challenges included platform-specific build requirements, since Tauri relies on each OS's native toolchain, meaning cross-platform releases require a CI pipeline with separate runners per operating system. OAuth handling also proved complex in packaged apps, as there is no web server to receive redirects, requiring custom deep-link schemes on both desktop and Android. The developer notes that while the approach is viable for web developers targeting multiple platforms, real-world packaging and authentication details demand significantly more effort than typical tutorials suggest.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in