or even.npm mount -D nuxt-typed-router@legacy.Setup.Register the element in the nuxt.config.ts, performed!export nonpayment defineNuxtConfig( modules: [' nuxt-typed-router'],. ).Example Consumption.pages/login. vue.When a route has no params determined, the params residential or commercial property will certainly not even be actually readily available as a choice in the router.router.push('/ login/bar')// Mistake!router.push( title: 'login', params: foo: 'pub')// Inaccuracy!router.push(" https://vuejsfeed.com/login")// Great!router.push( label: 'login')// Excellent!pages/user/ [i.d.] vue.When an option has actually a needed param specified, getting through precisely to this course will certainly toss an inaccuracy if you do not provide a params residential or commercial property or even if you put an incorrect param.router.push( name: 'user-id')// Mistake!router.push( name: 'user-id', params: pub: 'baz')// Inaccuracy!router.push('/ user')// Error!const i.d.="ey7878".router.push('/ customer/$ i.d. ')// Really good!router.push( label: 'user-id', params: i.d.)// Great!router.push('/ user/$ i.d./ jewel')// Error!For dealt with routes, the params home will definitely be actually accessible and correctly keyed.const option = useRoute().if (route.name === 'foo') console.log( route.params.baz)// Mistake!console.log( route.params.foo)// Really good!