]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: missing import(#1054)
authorBullwinkleDev <67856988+BullwinkleDev@users.noreply.github.com>
Sat, 31 Jul 2021 12:53:50 +0000 (17:53 +0500)
committerGitHub <noreply@github.com>
Sat, 31 Jul 2021 12:53:50 +0000 (14:53 +0200)
docs/guide/advanced/composition-api.md

index 18a0654e562d3962b0a99c50831714d29a1c0339..ab23edc454ed5f295b43dcbe9f6a88bb0574ed67 100644 (file)
@@ -35,7 +35,7 @@ The `route` object is a reactive object, so any of its properties can be watched
 
 ```js
 import { useRoute } from 'vue-router'
-import { ref } from 'vue'
+import { ref, watch } from 'vue'
 
 export default {
   setup() {