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
Some browsers/hostings change the urls to lowercase. Because of that, the __VP_HASH_MAP__ can't find corresponding hash, it will be undefined.
Motivation
I am using netlify, netlify will auto change url to lowercase ant this behavior can't opt out. See this topic.
It makes me very uncomfortable. Because I am writing composition-api related libraries, so I naturally call the file name useXXX .... , such as useClickAway , This is work very well in dev, but once deployed, it's can't working, This problem was only discovered after I deployed ...
I don't want to rename my markdown file, i know i can use command to replace, but I think we can support this feature .
vuepress look like support this feature, i find this pr
Examples
I used vitepress which I modified myself, It will both working now .
Summary
Some browsers/hostings change the urls to lowercase. Because of that, the
__VP_HASH_MAP__
can't find corresponding hash, it will beundefined
.Motivation
I am using netlify, netlify will auto change url to
lowercase
ant this behavior can't opt out. See this topic.It makes me very uncomfortable. Because I am writing
composition-api
related libraries, so I naturally call the file nameuseXXX
.... , such asuseClickAway
, This is work very well in dev, but once deployed, it's can't working, This problem was only discovered after I deployed ...I don't want to rename my markdown file, i know i can use command to replace, but I think we can support this feature .
vuepress look like support this feature, i find this pr
Examples
I used
vitepress
which I modified myself, It will both working now .You can click other link and refresh page, you will notice the url is converted to lowercase.
The text was updated successfully, but these errors were encountered: