https://github.com/ynixt/electron_angular_esbuild
Boilerplate for Angular + Electron + ESBuild
https://github.com/ynixt/electron_angular_esbuild
angular boilerplate desktop-app electron esbuild hot-reload
Last synced: 12 months ago
JSON representation
Boilerplate for Angular + Electron + ESBuild
- Host: GitHub
- URL: https://github.com/ynixt/electron_angular_esbuild
- Owner: ynixt
- Created: 2024-04-09T00:17:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T17:03:49.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T10:11:49.541Z (about 1 year ago)
- Topics: angular, boilerplate, desktop-app, electron, esbuild, hot-reload
- Language: HTML
- Homepage:
- Size: 297 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Electron Angular ESBuild boilerplate
Easy configuration of Angular 17 + Electron + ESBuild
## Getting Started
### Clone this repository
``
git clone https://github.com/ynixt/electron_angular_esbuild
``
### Install the dependencies
``
npm i && cd renderer && npm i && cd ../main && npm i
``
## Project structure
### 'main' folder
Project responsible by the main process, that is, the electron itself.
### 'renderer' folder
Project responsible by the renderer process: Angular. Never try to use code from `main` here. All communications
between `main` and `renderer` should use [Electron IPC](https://www.electronjs.org/docs/latest/tutorial/ipc).
## Running
### Develop mode
Watching changes on Angular + Electron
``
npm run dev:watch
``
Watching changes only on Angular
``
npm run dev
``
### Building with electron builder
``
npm run electron:build
``