/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/docs/src/layouts/wireframe.vue
18 строк
466 B
Joaquín Sánchez
docs: fix `undefined` wireframe github link (#20437)
17 окт 2024, 10:40
Не верифицирован
17 окт 2024, 10:40
aa1cc3a
Код
Авторство
О чём код?
<template> <router-view /> <v-btn :href="href" color="primary" icon="mdi-github" rel="noopener" style="position: fixed; bottom: 12px; right: 12px; z-index: 2000;" target="_blank" /> </template> <script setup> const route = useRoute() 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>