*https://www.virment.com/use-sqlite3-electron-vue-js/
[[File:electron_sqlite3.png|400px]]
<pre>
$ npm install --save-dev electron-rebuild
$ npm install --save sqlite3
$ ./node_modules/.bin/electron-rebuild -f -w sqlite3
</pre>
*main.js
<pre>
const sqlite3 = require('sqlite3');
:
var db = new sqlite3.Database(filePath);
db.serialize(() => {
db.run("create table if not exists test(id int primary key, value text)");
});
db.close();
</pre>