vue cli use history mode for router code example
Example: vue router mode history typescript
const router = new VueRouter({
linkExactActiveClass: "vue-school-active-class",
routes
})
const router = new VueRouter({
linkExactActiveClass: "vue-school-active-class",
routes
})