this.$route.path
retrieves the URL without the hashcode at the end. Is there a way to obtain the hash part of the URL or the entire URL so that I can properly separate the hash part?
Just to clarify, for a URL like https://example.com#test
, I am trying to extract the test
part in a Nuxt page.
I have not been able to locate documentation that covers all the properties in $route
to determine if this functionality is available.