I'm using SimulatedGREG/electron-vue as boiler-plate for electron application. The Application is primarily based on database operation. I want to use the sqlite3 node native module with Knex wrapper. How do I use knex with Vue? as the Vue is frontend library and doesn't have access to native APIs, Is it possible? or I must have to use the IPC communication between windows? I have a way to attach the Knex object globally in Vue, as given,
plugins: [
new webpack.ProvidePlugin({
Knex: 'knex'
})
]
I used jquery globally as given above, but not sure for knex.