Skip to content

Commit 9f969d4

Browse files
authored
Typo in Changelog (#3822)
1 parent 492bf0e commit 9f969d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This release fixes some compatibility issues of the new `vue-router/composables`
3838
This release of Vue Router introduces composables from Vue Router 4:
3939

4040
```js
41-
import { useRoute, useRouter, useLink, onBeforeRouteUpdate onBeforeRouteLeave } from 'vue-router/composables'
41+
import { useRoute, useRouter, useLink, onBeforeRouteUpdate, onBeforeRouteLeave } from 'vue-router/composables'
4242
```
4343

4444
Since these composables **require Vue 2.7**, they are only exposed under `vue-router/composables` submodule, so it shouldn't affect you if you stay on Vue 2.6 (Note there are no new features or fixes besides the composables in this release). Refer to [the Vue Router 4 API documentation](https://router.vuejs.org/api/#onbeforerouteleave) for details on the composables.

0 commit comments

Comments
 (0)