Answer the question
In order to leave comments, you need to log in
Is Vue-router reloading the page in a dynamic path for some reason?
Setting up the router is simple:
const router = new VueRouter({
mode: 'history',
routes: [
{
path: '/',
component: Home
},
{
path: '/item/:id',
component: ItemDetail
},
{
path: '/profile/',
component: Profile
}
]
})
Answer the question
In order to leave comments, you need to log in
Somewhere there is an error, so js scripts stop working, and therefore, instead of catching the click event on the link, a simple transition is triggered, as in the case of off. js script, see console
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question