From 7cdedb794cc5ed7dbdedf85478d62d89fbbaf6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 1 Sep 2023 14:02:08 +0300 Subject: [PATCH] Router doc updates --- doc/menubar/RouterDoc.vue | 4 ++-- doc/steps/RouterDoc.vue | 4 ++-- doc/tabmenu/RouterDoc.vue | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue index 003fb5457..cbe07429c 100644 --- a/doc/menubar/RouterDoc.vue +++ b/doc/menubar/RouterDoc.vue @@ -7,7 +7,7 @@
- diff --git a/doc/tabmenu/RouterDoc.vue b/doc/tabmenu/RouterDoc.vue index 80adfc59f..eadcb3aa8 100644 --- a/doc/tabmenu/RouterDoc.vue +++ b/doc/tabmenu/RouterDoc.vue @@ -5,7 +5,7 @@ NuxtLink or router-link. Here is an example with vue-router.

-
+ @@ -280,14 +280,14 @@ export default { ] } }; - }, - watch: { - $route() { - this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); - } - }, - mounted() { - this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); } + // watch: { + // $route() { + // this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); + // } + // }, + // mounted() { + // this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); + // } };