Static GitHub Issues

[2859] DOMException when leaving from url including hash that is not valid as an ID.

prev: Nuxt cannot initialize
next: renderAndGetWindow requires a full URL, whereas renderRoute only requires the path

below code causes DOMException when leaving from a url including hash that is not valid as an ID. https://github.com/nuxt/nuxt.js/blob/358e2f32fdc01adb2631b68c027ba2d316dfffaf/lib/app/router.js#L56

A hash has no need to be valid as an ID. For example, below url is valid. but causes DOMException. http://localhost:4000/hoge#a*

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2485">#c2485</a>)</em></sub></div>