Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
index.html
main.js
package.json

README.md

Electron is awesome!

It enables you to build portable desktop apps like #slack, atom and visual studio code.

Even more awesome when using the built-in standard indexedDB database via Dexie.js.

Here is just very simple sample to use Dexie to persist your app data in offline Electron apps.

main.js

..is just a cut'n'paste from electron's get started sample

index.html

..is (almost) just a cut'n'paste from Dexie's ES6 sample.

Note: This sample sets Dexie.debug = true;. Read more about Dexie.debug if you like, and how to automate that in a build step.

No build steps

  • No need for a transpilation step because Electron's chromium version already understand most of ES6.
  • No need for a bundling step because Electron's web pages has native window.require().

Like. It. a. Lot!

Usage

npm install
npm start

No prerequisits. Well, you need a computer. And nodejs of course. Electron is installed with the dependencies.