[Vuejs]-Vue.js, Url and Routing

0👍

In your route configuration, set the mode to history.

mode: "history"

like:

const router = new VueRouter({
  mode: "history",
  routes: [
    // ...
  ]
})

Leave a comment