diff --git a/packages/vuepress-theme-reco/src/client/components/Link.vue b/packages/vuepress-theme-reco/src/client/components/Link.vue index 2cbb5f31..b8ff0312 100644 --- a/packages/vuepress-theme-reco/src/client/components/Link.vue +++ b/packages/vuepress-theme-reco/src/client/components/Link.vue @@ -3,7 +3,7 @@ v-if="isRouterLink" class="link" :class="{ 'router-link-active': isActiveInSubpath }" - :to="item.link" + :to="item.link as string" :aria-label="linkAriaLabel" v-bind="$attrs" :key="`${item.link}-router`" @@ -30,95 +30,84 @@ - diff --git a/packages/vuepress-theme-reco/src/client/components/NavbarLinks.vue b/packages/vuepress-theme-reco/src/client/components/NavbarLinks.vue index 700ee576..f742eda3 100644 --- a/packages/vuepress-theme-reco/src/client/components/NavbarLinks.vue +++ b/packages/vuepress-theme-reco/src/client/components/NavbarLinks.vue @@ -12,10 +12,10 @@ - diff --git a/packages/vuepress-theme-reco/src/client/components/PageInfo.vue b/packages/vuepress-theme-reco/src/client/components/PageInfo.vue index a9a0a773..770c50fd 100644 --- a/packages/vuepress-theme-reco/src/client/components/PageInfo.vue +++ b/packages/vuepress-theme-reco/src/client/components/PageInfo.vue @@ -43,9 +43,9 @@ - diff --git a/packages/vuepress-theme-reco/src/client/components/PostItem.vue b/packages/vuepress-theme-reco/src/client/components/PostItem.vue index 50f308a5..5dda763c 100644 --- a/packages/vuepress-theme-reco/src/client/components/PostItem.vue +++ b/packages/vuepress-theme-reco/src/client/components/PostItem.vue @@ -7,24 +7,18 @@ - diff --git a/packages/vuepress-theme-reco/src/client/components/PostList.vue b/packages/vuepress-theme-reco/src/client/components/PostList.vue index f9bc186d..c22d2059 100644 --- a/packages/vuepress-theme-reco/src/client/components/PostList.vue +++ b/packages/vuepress-theme-reco/src/client/components/PostList.vue @@ -1,25 +1,18 @@ - diff --git a/packages/vuepress-theme-reco/src/client/components/global/Tab.vue b/packages/vuepress-theme-reco/src/client/components/global/Tab.vue index 44ce4c32..0afd8c4a 100644 --- a/packages/vuepress-theme-reco/src/client/components/global/Tab.vue +++ b/packages/vuepress-theme-reco/src/client/components/global/Tab.vue @@ -1,6 +1,5 @@