Getting started example browser made out of Electron I found the Electron Sample Apps repo hard to follow, so I cleaned it up using Webpack and SCSS to manage dependencies and simplify logic.
But big props to those guys for providing this nice getting started point! Thank you :D Check out https://github.com/hokein/electron-sample-apps for other sample apps to get started with.
@import "your_file";
insrc/scss/entry.scss
at the bottom of theimport
list.import yourModule from './your-new-js-module'
as needed insidesrc/js/entry.js
or other modules as needed.
- Make sure Electron is installed globally
npm install -g electron
npm install
to install dependenciesnpm start
to kick off a build and open the Electron Browser app
- Electron is serving an HTML file at
static/browser.html
.- This file has the layout for the browser UI, and wraps a
webview
(where the webpages load)
- This file has the layout for the browser UI, and wraps a