Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: initial url path for non ascii urls (#2375)
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.
- Loading branch information