caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
191 stars 21 forks source link

Fixes 404 error by explicitly setting hashMode = true #69

Closed bmhtech07 closed 8 months ago

bmhtech07 commented 9 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 9 months ago

Hopefully this makes it in!