Open abarke opened 1 month ago
After adding the following to the nuxt config the problem goes away:
export default defineNuxtConfig({
router: {
options: {
hashMode: true,
},
},
}
Seems nuxt-electron set's this here https://github.com/caoxiemeihao/nuxt-electron/blob/main/src/index.ts#L177
However since upgrading it seems in a production build that is doesn't work anymore.
Seems since upgrading to the latest nuxt, nuxt-electron, and electron v30 after using electron-builder to create an installer and installing it, the 404 issue arises. This never happened before.
See: https://github.com/nuxt/nuxt/issues/15629#issuecomment-2110813784