shellyln

Results 15 comments of shellyln

Hi, @Lothindir ! Thanks for posting the issue. It is expected behavior. https://github.com/shellyln/vue-electron-typescript-quickstart/blob/d450cbbb26f199e68ef39f784df02d769be079b1/src.mainproc/windows/MainWindow.ts#L32 `BrowserWindow::loadFile` don't set `window.location` correctly. If you want to implement `reload` command, you can use `BrowserWindow::loadURL` instead...

Plus, you should change here https://github.com/shellyln/vue-electron-typescript-quickstart/blob/d450cbbb26f199e68ef39f784df02d769be079b1/src.mainproc/main.ts#L32-L54

Hi @Lothindir, The real reasons to see a blank page on reload are these: 1. The `baseUrl` or `publicPath` in the current Vue CLI configuration is set to the default...

[`vuejs/vue-devtools`](https://github.com/vuejs/vue-devtools) seems to use `chrome.runtime.getURL()` and accept permission `file:///*` in the [manifest](https://github.com/vuejs/vue-devtools/blob/dev/packages/shell-chrome/manifest.json). (and [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension) doesn't use [it](https://github.com/zalmoxisus/redux-devtools-extension/blob/master/src/browser/extension/manifest.json).) Please comment out `protocol.interceptFileProtocol('file', ...)` and check Vue devtools appears or not. (I...

Maybe you can use devtools if you set Content Security Policy. https://github.com/shellyln/vue-electron-typescript-quickstart/blob/523b911fb9a40825b13e27590ddd6aec771c2204/src.mainproc/windows/MainWindow.ts#L52-L71 How about changing this to the following? https://github.com/shellyln/mdne-electron/blob/34f062125a8f7048cfc005f731be881852a3d746/src.mainproc/windows/MainWindow.ts#L71-L85