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
{{ message }}
This repository has been archived by the owner on May 13, 2024. It is now read-only.
Any update with this? @billyyyyy3320 This bug can be considered as a critical one, because we cannot visit path like /tag/使用指南/ directly.
After half a year, do you still have plans to fix it? Or shall I publish a fixed version under my namespace? ( I hate duplicated versions of something)
Bug report
The newest
vue-router
triggers an warning when navigating to routes with special charaters.And it's common for Chinese. Japanese or other users to use their language in tags and categories.
E.g.:
And this plugin is generating links like
/tag/笔记/
now, so issues will be shown in dev mode.This issue is not an actual issue in the past few months before I run
yarn upgrade
and updated my deps to newest (3.4.9).With the newest deps, links like
/tag/使用指南/
can be visited through other pages, but will break when visiting directly.Reproduce:
If you visite https://vuepress-theme-demo.mrhope.site/ and press the
使用指南
here, everything is prefectBut if you visit https://vuepress-theme-demo.mrhope.site/tag/使用指南/ directly, you will get a 404.
Besides if you disable javascript, you can find out that layout is rendered correctly by SSR, and client-side hydration leads to the 404 pages:
Other relevant information
npx vuepress info
:Config:
The text was updated successfully, but these errors were encountered: