vikejs / vike

🔨 Flexible, lean, community-driven, dependable, fast Vite-based frontend framework.
https://vike.dev
MIT License
4.37k stars 350 forks source link

hashchange not triggered #1883

Closed flyerH closed 1 month ago

flyerH commented 1 month ago

This is repo: https://github.com/flyerH/vike-vue-example Run and open http://localhost:3000/a

When use the client routing, If you click the short link, the hashchange event will not be triggered. I use this feature to jump from page A to page B and automatically locate the anchor point, and avoid full refreshing the page through client routing.

brillout commented 1 month ago

Fix pre-released as vike@0.4.195-commit-3f77496.

flyerH commented 1 month ago

It's work! Thank you~