nuxt-community / redirect-module

No more cumbersome redirects for Nuxt 2!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to map "#"

Wilson-Lim opened this issue · comments

I wish to use the value in hash to determine my final url

{
        from: "^/handbook#guide$",
        to: (from, req) => {
          return "/myGuidePage";
        }
}

How can i make this work?

when i key in http://localhost/handbook#guide , the redirection doesnt trigger.

Browsers don't send the hash part to the server on SSR request. And this module is for SSR requests.

@rchl Thanks for the fast response