将i-lucide都改为lucide本地库
This commit is contained in:
@@ -5,27 +5,27 @@ const items = ref<NavigationMenuItem[][]>([
|
||||
[
|
||||
{
|
||||
label: 'Guide',
|
||||
icon: 'i-lucide-book-open',
|
||||
icon: 'lucide-book-open',
|
||||
},
|
||||
{
|
||||
label: 'Composables',
|
||||
icon: 'i-lucide-database',
|
||||
icon: 'lucide-database',
|
||||
children: [
|
||||
{
|
||||
label: 'defineShortcuts',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Define shortcuts for your application.',
|
||||
to: '/composables/define-shortcuts'
|
||||
},
|
||||
{
|
||||
label: 'useOverlay',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a modal/slideover within your application.',
|
||||
to: '/composables/use-overlay'
|
||||
},
|
||||
{
|
||||
label: 'useToast',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a toast within your application.',
|
||||
to: '/composables/use-toast'
|
||||
}
|
||||
@@ -33,42 +33,42 @@ const items = ref<NavigationMenuItem[][]>([
|
||||
},
|
||||
{
|
||||
label: 'Components',
|
||||
icon: 'i-lucide-box',
|
||||
icon: 'lucide-box',
|
||||
to: '/components',
|
||||
children: [
|
||||
{
|
||||
label: 'Link',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Use NuxtLink with superpowers.',
|
||||
to: '/components/link'
|
||||
},
|
||||
{
|
||||
label: 'Modal',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a modal within your application.',
|
||||
to: '/components/modal'
|
||||
},
|
||||
{
|
||||
label: 'NavigationMenu',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a list of links.',
|
||||
to: '/components/navigation-menu'
|
||||
},
|
||||
{
|
||||
label: 'Pagination',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a list of pages.',
|
||||
to: '/components/pagination'
|
||||
},
|
||||
{
|
||||
label: 'Popover',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Display a non-modal dialog that floats around a trigger element.',
|
||||
to: '/components/popover'
|
||||
},
|
||||
{
|
||||
label: 'Progress',
|
||||
icon: 'i-lucide-file-text',
|
||||
icon: 'lucide-file-text',
|
||||
description: 'Show a horizontal bar to indicate task progression.',
|
||||
to: '/components/progress'
|
||||
}
|
||||
@@ -85,7 +85,7 @@ const items = ref<NavigationMenuItem[][]>([
|
||||
// },
|
||||
// {
|
||||
// label: 'Help',
|
||||
// icon: 'i-lucide-circle-help',
|
||||
// icon: 'lucide-circle-help',
|
||||
// badge: '3.8k',
|
||||
// disabled: true
|
||||
// }
|
||||
|
@@ -10,13 +10,13 @@ const markdownLink = computed(() => `${window?.location?.origin}/raw${route.path
|
||||
const items = [
|
||||
{
|
||||
label: 'Copy Markdown link',
|
||||
icon: 'i-lucide-link',
|
||||
icon: 'lucide-link',
|
||||
onSelect() {
|
||||
copy(markdownLink.value)
|
||||
|
||||
toast.add({
|
||||
title: 'Markdown link copied to clipboard',
|
||||
icon: 'i-lucide-check-circle',
|
||||
icon: 'lucide-check-circle',
|
||||
color: 'success',
|
||||
})
|
||||
},
|
||||
@@ -46,7 +46,7 @@ const items = [
|
||||
<UButtonGroup size="sm">
|
||||
<UButton
|
||||
label="Copy page"
|
||||
:icon="copied ? 'i-lucide-copy-check' : 'i-lucide-copy'"
|
||||
:icon="copied ? 'lucide-copy-check' : 'lucide-copy'"
|
||||
color="neutral"
|
||||
variant="outline"
|
||||
:ui="{
|
||||
@@ -68,7 +68,7 @@ const items = [
|
||||
}"
|
||||
>
|
||||
<UButton
|
||||
icon="i-lucide-chevron-down"
|
||||
icon="lucide-chevron-down"
|
||||
color="neutral"
|
||||
variant="outline"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user