Open DongWenHai opened 4 years ago
have you solved the problem?
No.But I used another framework.
发件人: joshuafc @.> 发送时间: 2021年6月30日 17:43 收件人: SimulatedGREG/electron-vue @.> 抄送: DongWenHai @.>; Author @.> 主题: Re: [SimulatedGREG/electron-vue] why preload.js doesn't work (#1054)
have you solved the problem?
― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/SimulatedGREG/electron-vue/issues/1054#issuecomment-871253203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIEQ4NCTDFQXGZRPAJOTC3LTVLRMDANCNFSM4T4H476Q.
I've configured preload.js,but it doesn't work
new BrowserWindow({ resizable:true,//unable scale alwaysOnTop:true, fullscreen:true, acceptFirstMouse:true, autoHideMenuBar:true, frame:false, titleBarStyle:'hidden', webPreferences:{ nodeIntegration:true, nodeIntegrationInWorker:true, devTools:true, preload:require('path').join(__dirname, 'preload.js') } })
Tell me about your development environment.