Plugin
To activate plugin, you need to add
plugin: true
to your config optionsA plugin will be automaticaly generated, providing global access to $typedRouter
, $typedRoutes
and $routesNames
const { $typedRouter, $typedRoute, $routesNames } = useNuxtApp();