[Vuejs]-How do I implement Electron's webview into my Vue project?

0๐Ÿ‘

โœ…

  const win = new BrowserWindow({
    width: 1276, 
    height: 800, 
    frame: false, 
    titleBarStyle: 'hiddenInset',
    center: true, 
    movable: true,
    webPreferences: {
      nodeIntegration: true,
      webviewTag: true,
    }
  })

webviewTag is a field of webPreferences

Leave a comment