docs: add backticks (#19721)

This commit is contained in:
Leopold Kristjansson 2023-03-15 22:10:50 +01:00 committed by GitHub
parent 8d644903bc
commit e669da0975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ description: "The useRouter composable returns the router instance."
# `useRouter` # `useRouter`
The useRouter composable returns the router instance and must be called in a setup function, plugin, or route middleware. The `useRouter` composable returns the router instance and must be called in a setup function, plugin, or route middleware.
Within the template of a Vue component, you can access the router using `$router` instead. Within the template of a Vue component, you can access the router using `$router` instead.