Skip to content

Commit

Permalink
docs: fix undefined wireframe github link (#20437)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Oct 17, 2024
1 parent 8f683e7 commit aa1cc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/layouts/wireframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

<script setup>
const route = useRoute()
const { page } = route.meta
const href = `https://github.com/vuetifyjs/vuetify/blob/master/packages/docs/src/examples/wireframes/${page}.vue`
const paths = route.path.split('/').filter(p => p.length > 0)
const href = `https://github.com/vuetifyjs/vuetify/blob/master/packages/docs/src/examples/wireframes/${paths.at(-1)}.vue`
</script>

0 comments on commit aa1cc3a

Please sign in to comment.