]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: missing bracket
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 27 May 2022 05:03:40 +0000 (07:03 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 27 May 2022 05:03:40 +0000 (07:03 +0200)
docs/guide/advanced/navigation-guards.md

index 5ce62f01555442b7eddec9c27e5c8efd854c6859..cfd3d160469571d30e1a3c5269e9f9d090a70a3c 100644 (file)
@@ -45,6 +45,7 @@ And can optionally return any of the following values:
       return { name: 'Login' }
     }
   })
+  ```
 
 It's also possible to throw an `Error` if an unexpected situation was met. This will also cancel the navigation and call any callback registered via [`router.onError()`](../../api/#onerror).