Friday, May 3, 2019

Vue : Vue History Mode Routing Tutorial

Vue History Mode Routing Tutorial. The default mode for the vue-router is hash(#) mode as it uses the URL hash to simulate a full URL so that the page won’t be reloaded when the URL changes.

To get rid of the hash mode, we can use the router’s history mode, which leverages the history.pushState API to achieve URL navigation without a page reload.

https://appdividend.com/2018/07/13/vue-history-mode-routing-tutorial/

No comments:

Post a Comment