mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +01:00
docs: broken Edit this page link (#620)
This commit is contained in:
@@ -65,7 +65,7 @@ const headline = computed(() => findPageHeadline(page.value))
|
|||||||
const links = computed(() => [{
|
const links = computed(() => [{
|
||||||
icon: 'i-heroicons-pencil-square',
|
icon: 'i-heroicons-pencil-square',
|
||||||
label: 'Edit this page',
|
label: 'Edit this page',
|
||||||
to: `https://github.com/nuxt/ui/edit/dev/docs/content/${page?.value?._file}`,
|
to: `https://github.com/nuxt/ui/edit/dev/docs/content/${page?.value?._file.split('/').slice(1).join('/')}`,
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
}, {
|
}, {
|
||||||
icon: 'i-heroicons-star',
|
icon: 'i-heroicons-star',
|
||||||
|
|||||||
Reference in New Issue
Block a user