caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
169 stars 18 forks source link

Fixes 404 error by explicitly setting hashMode = true #69

Closed bmhtech07 closed 3 months ago

bmhtech07 commented 4 months ago

The default nuxt.options.router.options.hashMode = false.

Therefore, the previous coalescing assignment does nothing. It doesn't disable default opts as the disableDefaultOptions intends (I think?).

This explicitly sets the value to true, in order to overcome the 404 on build.

christywastaken commented 4 months ago

Hopefully this makes it in!