angular-electron is a project template that bootstraps desktop applications with Angular and Electron using TypeScript, SASS, and hot reload.
The project solves the problem of setting up a development environment that bridges Angular's web framework with Electron's desktop capabilities. It uses a two-package.json structure following Electron Builder conventions to optimize the final bundle while preserving Angular's tooling features. The renderer process runs Angular with hot reload enabled, while the main Electron process can be restarted but not hot reloaded. The template includes testing infrastructure with Vitest for unit tests and Playwright for end-to-end testing, and supports packaging applications for Linux, Windows, and macOS.
Developers should choose this template if they want to build desktop applications using Angular without manually configuring the integration between the two frameworks. It suits projects that need both web and Electron contexts, since it handles the complexity of importing dependencies correctly across both environments. The template includes examples of importing Electron APIs and native Node.js libraries from Angular components. Developers must use npm rather than yarn as the dependency manager due to compatibility issues with the packager.
The project receives infrequent responses to issues and pull requests, with first replies often delayed by weeks or longer. Work in the issue tracker centers on bug reports, questions, and enhancement requests.