]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo (#604)
authorSean G. Wright <sean@seangwright.me>
Sun, 22 Nov 2020 09:35:21 +0000 (04:35 -0500)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 09:35:21 +0000 (10:35 +0100)
Missing quote for RouteLocationRaw definition

docs/api/index.md

index 117e024b6571ad3275b88ea5bc3c572d58320fa0..2ced3c4adfb18ae9a5b1f1c3cf54c08d698b3325 100644 (file)
@@ -924,7 +924,7 @@ A raw location can either be a `string` like `/users/posva#bio` or an object:
 
 ```js
 // these three forms are equivalent
-router.push('/users/posva#bio)
+router.push('/users/posva#bio')
 router.push({ path: '/users/posva', hash: '#bio' })
 router.push({ name: 'users', params: { username: 'posva' }, hash: '#bio' })
 // only change the hash