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*