My router index.js file in my Vue.js application has the following redirect codes. I’m noticing only the links with variable parameters are not working. Is that a possible cause and is there a specific fix to this?
const routes = [
{
path: '/',
name: 'GetTopGames',
component: GetTopGames
},
{
path: '/GetTopStreamers',
name: 'GetTopStreamers',
component: GetTopStreamers
},
{
path: '/streamer/:streamer_user_name',
name: 'Streamer',
component: Streamer
},
{
path: '/StreamersForGame/:game_name',
name: 'StreamersForGame',
component: StreamersForGame,
}
]