bradstewart/electron-boilerplate-vue

webpack+sqlite3 not working

wotermelon opened this issue · 3 comments

how can I use sqlite3 with this boilerplate?

I will create a fork and add sqlite3 support.
Do you want to use sequelizejs, too? -> http://docs.sequelizejs.com/en/v3/

I've forked it, modified the webpack config, but it still does not find module 'sqlite3'.
With a boilerplate for electron + angular2 I got it to work.

Maybe someone can help? https://github.com/lazytyper/electron-boilerplate-vue

externals: {
    'sqlite3': 'commonjs sqlite3'
  }

I also add this, it still cant not find module sqlite3.
Thank you, I would like to use sequelizejs.