or even.npm mount -D nuxt-typed-router@legacy.Configuration.Register the element in the nuxt.config.ts, done!export nonpayment defineNuxtConfig( elements: [' nuxt-typed-router'],. ).Example Consumption.pages/login. vue.When a path has actually no params defined, the params building is going to not also be actually offered as a choice in the hub.router.push('/ login/bar')// Error!router.push( name: 'login', params: foo: 'bar')// Mistake!router.push(" https://vuejsfeed.com/login")// Good!router.push( title: 'login')// Good!pages/user/ [id] vue.When an option has a required param determined, getting through precisely to this option is going to toss a mistake if you do not give a params property or even if you put an inappropriate param.router.push( name: 'user-id')// Inaccuracy!router.push( title: 'user-id', params: pub: 'baz')// Mistake!router.push('/ individual')// Mistake!const id="ey7878".router.push('/ individual/$ i.d. ')// Great!router.push( name: 'user-id', params: i.d.)// Great!router.push('/ customer/$ i.d./ jewel')// Mistake!For resolved courses, the params building will definitely be available and also properly keyed.const route = useRoute().if (route.name === 'foo') console.log( route.params.baz)// Error!console.log( route.params.foo)// Great!