plugin

plugin option let you enable global utils

Type

type: boolean
default: false

It allows you to use typed router in template as a global util.

<template>
 <div>{{ $routesNames }}</div>
</template>
const { $typedRouter, $typedRoute, $routesNames } = useNuxtApp();