or.npm mount -D nuxt-typed-router@legacy.Configuration.Register the element in the nuxt.config.ts, done!export nonpayment defineNuxtConfig( components: [' nuxt-typed-router'],. ).Instance Utilization.pages/login. vue.When a course has actually no params determined, the params residential or commercial property will not even be actually on call as a choice in the modem.router.push('/ login/bar')// Mistake!router.push( title: 'login', params: foo: 'bar')// Error!router.push(" https://vuejsfeed.com/login")// Good!router.push( name: 'login')// Good!pages/user/ [i.d.] vue.When an option has actually a needed param determined, getting through precisely to this route will toss an inaccuracy if you don't give a params building or if you put a wrong param.router.push( label: 'user-id')// Error!router.push( title: 'user-id', params: pub: 'baz')// Error!router.push('/ user')// Mistake!const id="ey7878".router.push('/ individual/$ i.d. ')// Great!router.push( label: 'user-id', params: i.d.)// Really good!router.push('/ individual/$ i.d./ baguette')// Error!For solved courses, the params property will certainly be actually readily available and also correctly keyed in.const option = useRoute().if (route.name === 'foo') console.log( route.params.baz)// Mistake!console.log( route.params.foo)// Great!