or.npm mount -D nuxt-typed-router@legacy.Configuration.Register the module in the nuxt.config.ts, performed!export nonpayment defineNuxtConfig( elements: [' nuxt-typed-router'],. ).Example Utilization.pages/login. vue.When a course has no params specified, the params building is going to not even be actually available as a choice in the hub.router.push('/ login/bar')// Error!router.push( name: 'login', params: foo: 'club')// Inaccuracy!router.push(" https://vuejsfeed.com/login")// Excellent!router.push( title: 'login')// Excellent!pages/user/ [i.d.] vue.When a route has actually a required param determined, navigating specifically to this option is going to toss an error if you don't offer a params home or even if you place an incorrect param.router.push( title: 'user-id')// Inaccuracy!router.push( title: 'user-id', params: club: 'baz')// Inaccuracy!router.push('/ individual')// Error!const id="ey7878".router.push('/ user/$ id ')// Excellent!router.push( name: 'user-id', params: id)// Great!router.push('/ user/$ id/ jewel')// Inaccuracy!For resolved courses, the params residential or commercial property will be accessible and also correctly entered.const route = useRoute().if (route.name === 'foo') console.log( route.params.baz)// Mistake!console.log( route.params.foo)// Really good!