Closed BlackYuzia closed 2 years ago
Hi there, thx for that template.
But, how I find in pages/index.vue, you use remote from electron. As docs say remote is deprecated.
pages/index.vue
remote
electron
You can replace deprecated remote by ipcRenderer and ipcMain.
ipcRenderer
ipcMain
import { remote } from 'electron' // inside vue openURL (url) { remote.shell.openExternal(url) }
That also mean what remote.shell... won't work and return error because remote is undefined.
remote.shell...
Fixed in 1.8.1
Hi there, thx for that template.
But, how I find in
pages/index.vue
, you useremote
fromelectron
. As docs sayremote
is deprecated.You can replace deprecated
remote
byipcRenderer
andipcMain
.That also mean what
remote.shell...
won't work and return error becauseremote
is undefined.