I want to access the nuxt router. I try this by doing const { router } = useContext(), but to no avail.
馃攳 Where should you find it?
Probably on the useContext page?
In the Nuxt context, the router is within app. So, for example:
const { app: { router } } = useContext()
Thank you very much!!
Most helpful comment
In the Nuxt context, the
routeris withinapp. So, for example: