vue # in url code example
Example: vue # in url
// To remove the # from url
// go in to router, index.js and change -->
const router = new VueRouter({
routes
})
to const router = new VueRouter({
routes,
mode: 'history'
})
// To remove the # from url
// go in to router, index.js and change -->
const router = new VueRouter({
routes
})
to const router = new VueRouter({
routes,
mode: 'history'
})