Skip to content

Commit 40f1c30

Browse files
committed
feat(app): add templates in user menu
1 parent a6bbec6 commit 40f1c30

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/UserMenu.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
106106
e.preventDefault()
107107
}
108108
}]
109+
}], [{
110+
label: 'Templates',
111+
icon: 'i-lucide-layout-template',
112+
children: [{
113+
label: 'Starter',
114+
to: 'https://starter-vue-template.nuxt.dev/'
115+
}, {
116+
label: 'Dashboard',
117+
to: 'https://dashboard-vue-template.nuxt.dev/',
118+
color: 'primary',
119+
checked: true,
120+
type: 'checkbox'
121+
}]
109122
}], [{
110123
label: 'Documentation',
111124
icon: 'i-lucide-book-open',

0 commit comments

Comments
 (0)