Skip to content

Commit 31fdb84

Browse files
authored
Change router.go to router.push in router.replace
router.replace documentation references router.go, when it should really reference router.push
1 parent 84c0be6 commit 31fdb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/essentials/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ router.push({ path: 'register', query: { plan: 'private' }})
3030

3131
#### `router.replace(location)`
3232

33-
It acts like `router.go`, the only difference is that it navigates without pushing a new history entry, as its name suggests - it replaces the current entry.
33+
It acts like `router.push`, the only difference is that it navigates without pushing a new history entry, as its name suggests - it replaces the current entry.
3434

3535
| Declarative | Programmatic |
3636
|-------------|--------------|

0 commit comments

Comments
 (0)