Category Archives: JavaScript

Removing hash from URL Laravel-Vue

The hash (#) in the url is there to support older browsers so if you need to support older browsers you best not remove it. To move to a cleaner URL structure we need to use the HTML 5 History mode by adding mode: ‘history’ to your router. const router = new VueRouter({ routes, mode:… Read More »