Answer the question
In order to leave comments, you need to log in
What is the correct way to pass parameters to vue-router routes?
here is one of my routes
{
path: '/reset-password/:token',
name: 'resetPassword',
component: ResetPassword,
props: true,
meta: { type: 'auth' }
},
http://localhost:8080/reset-password/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
, then everything works fine, http://localhost:8080/reset-password/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MiwidGltZSI6MTUwNDM1NjgyMjQ3MywiaWF0IjoxNTA0MzU2ODIyfQ.VThslyt487wGi73e0ICrTe74Z3oyWn3tRSwtvsTMvrY
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question