Electron can not use remote api of renederer
-
electron remote api can not use in main.js and vue components.
// main.js import webFrame from 'electron' webFrame.setVisualZoomLevelLimits(1, 1)
when i change the webpack config
libraryTarget: 'commonjs2'
,require('electron')
will work ,but many other features of electron must be configure of webpack and run script, because quasar framework will build spa page,this is really a large work.A perfect framework of vue and electron integration is electron-vue,but the best model is development in quasar framework,and generator electron project.The quasar have a plan to perfect integration
vue
andelectron
or integrationquasar
andvue-electron
?