You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that this issue might be related to the use of BrowserRouter. Consider replacing it with HashRouter if you are currently using BrowserRouter
Describe the bug
i am using electron with vite, React , local everything is working when i am making dmg build and installing in mac
added screen shot ,blank screen is coming
electron.vite.config.mjs
`import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
},
preload: {
plugins: [externalizeDepsPlugin()],
build: {
outDir: 'dist/preload'
}
},
renderer: {
resolve: {
alias: {
'@Renderer': resolve('src/renderer/src')
}
},
plugins: [react()]
}
})`
package. json
index.html
dont know whats issue after making mac build app is not loading react pages
Electron-Vite Version
electron-vite": "^2.3.0",
Electron Version
electron": "^31.0.2",
Vite Version
"vite": "^5.3.1"
Validations
The text was updated successfully, but these errors were encountered: