mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: add backticks (#19721)
This commit is contained in:
parent
8d644903bc
commit
e669da0975
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user