You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is demo of issue https://codesandbox.io/s/m2xnyj5zx
If click links withing app - active class applies fine for both links
If load page on /hello - active class applies to hello link fine
If load page on /тест - active class applies not applied to /тест link and the component not loaded
The problem is because on initial load vue-router use window.location.pathname for path, which is uri encoded, so it wont match routes because they are not uri encoded.
0 commit comments