Electron(v13) with Angular(v12) quick starter.
- Main process auto restart
- Render hot reload (partial tested)
file:///
insteadhttp://
in development mode
Run npm i
.
Render:
$ npm run start:render (or `npm run hmr` for hot reload)
Main:
$ npm run start (`serve` for auto reload)
$ npm run prod # First pack render
$ npm run dist # Then pack app
-
How does the electron work with
file:///
in dev mode?Add script, style tag in
index.html
that served by dev serve manually.