electron-boilerplate-vue icon indicating copy to clipboard operation
electron-boilerplate-vue copied to clipboard

webpack+sqlite3 not working

Open wotermelon opened this issue 8 years ago • 3 comments

how can I use sqlite3 with this boilerplate?

wotermelon avatar Aug 29 '16 08:08 wotermelon

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

lazytyper avatar Aug 29 '16 13:08 lazytyper

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

lazytyper avatar Aug 29 '16 19:08 lazytyper

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

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

wotermelon avatar Aug 30 '16 00:08 wotermelon