Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Production license for @nuxt/ui-pro, get one at https://ui.nuxt.com/pro/purchase
NUXT_UI_PRO_LICENSE=
# Public URL, used for OG Image when running nuxt generate
NUXT_PUBLIC_SITE_URL=
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# Nuxt Dashboard Template

[![Nuxt UI Pro](https://img.shields.io/badge/Made%20with-Nuxt%20UI%20Pro-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com/pro)
[![Deploy to NuxtHub](https://img.shields.io/badge/Deploy%20to-NuxtHub-00DC82?logo=nuxt&labelColor=020420)](https://hub.nuxt.com/new?repo=nuxt-ui-pro/dashboard)
[![Nuxt UI](https://img.shields.io/badge/Made%20with-Nuxt%20UI-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com)

Get started with the Nuxt dashboard template with multiple pages, collapsible sidebar, keyboard shortcuts, light & dark more, command palette and more, powered by [Nuxt UI Pro](https://ui.nuxt.com/pro).
Get started with the Nuxt dashboard template with multiple pages, collapsible sidebar, keyboard shortcuts, light & dark more, command palette and more, powered by [Nuxt UI](https://ui.nuxt.com).

- [Live demo](https://dashboard-template.nuxt.dev/)
- [Documentation](https://ui.nuxt.com/getting-started/installation/pro/nuxt)
- [Documentation](https://ui4.nuxt.com/docs/getting-started/installation/nuxt)

<a href="https://dashboard-template.nuxt.dev/" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2Rhc2hib2FyZC10ZW1wbGF0ZS5udXh0LmRldiIsImlhdCI6MTczOTQ2MzU2N30._VElt4uvLjvAMdnTLytCInOajMElzWDKbmvOaMZhZUI.jpg?theme=dark">
<source media="(prefers-color-scheme: light)" srcset="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2Rhc2hib2FyZC10ZW1wbGF0ZS5udXh0LmRldiIsImlhdCI6MTczOTQ2MzU2N30._VElt4uvLjvAMdnTLytCInOajMElzWDKbmvOaMZhZUI.jpg?theme=light">
<img alt="Nuxt Dashboard Template" src="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2Rhc2hib2FyZC10ZW1wbGF0ZS5udXh0LmRldiIsImlhdCI6MTczOTQ2MzU2N30._VElt4uvLjvAMdnTLytCInOajMElzWDKbmvOaMZhZUI.jpg">
<source media="(prefers-color-scheme: dark)" srcset="https://ui4.nuxt.com/assets/templates/nuxt/dashboard-dark.png">
<source media="(prefers-color-scheme: light)" srcset="https://ui4.nuxt.com/assets/templates/nuxt/dashboard-light.png">
<img alt="Nuxt Dashboard Template" src="https://ui4.nuxt.com/assets/templates/nuxt/dashboard-light.png">
</picture>
</a>

## Vue Dashboard Template

The dashboard template for Vue is on https://github.com/nuxt-ui-pro/dashboard-vue.
The dashboard template for Vue is on https://github.com/nuxt-ui-templates/dashboard-vue.

## Quick Start

```bash [Terminal]
npx nuxi@latest init -t github:nuxt-ui-pro/dashboard
npx nuxi@latest init -t github:nuxt-ui-templates/dashboard
```

## Setup
Expand Down
6 changes: 3 additions & 3 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ useHead({
})

const title = 'Nuxt Dashboard Template'
const description = 'A professional dashboard template built with Nuxt UI Pro, featuring multiple pages, data visualization, and comprehensive management capabilities for creating powerful admin interfaces.'
const description = 'A professional dashboard template built with Nuxt UI, featuring multiple pages, data visualization, and comprehensive management capabilities for creating powerful admin interfaces.'

useSeoMeta({
title,
description,
ogTitle: title,
ogDescription: description,
ogImage: 'https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2Rhc2hib2FyZC10ZW1wbGF0ZS5udXh0LmRldiIsImlhdCI6MTczOTQ2MzU2N30._VElt4uvLjvAMdnTLytCInOajMElzWDKbmvOaMZhZUI.jpg?theme=light',
twitterImage: 'https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2Rhc2hib2FyZC10ZW1wbGF0ZS5udXh0LmRldiIsImlhdCI6MTczOTQ2MzU2N30._VElt4uvLjvAMdnTLytCInOajMElzWDKbmvOaMZhZUI.jpg?theme=light',
ogImage: 'https://ui4.nuxt.com/assets/templates/nuxt/dashboard-light.png',
twitterImage: 'https://ui4.nuxt.com/assets/templates/nuxt/dashboard-light.png',
twitterCard: 'summary_large_image'
})
</script>
Expand Down
2 changes: 1 addition & 1 deletion app/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "tailwindcss" theme(static);
@import "@nuxt/ui-pro";
@import "@nuxt/ui";

@theme static {
--font-sans: 'Public Sans', sans-serif;
Expand Down
14 changes: 6 additions & 8 deletions app/components/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
icon: 'i-lucide-layout-template',
children: [{
label: 'Starter',
to: 'https://ui-pro-starter.nuxt.dev/'
to: 'https://starter-template.nuxt.dev/'
}, {
label: 'Landing',
to: 'https://landing-template.nuxt.dev/'
Expand All @@ -127,23 +127,21 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
}, {
label: 'Chat',
to: 'https://chat-template.nuxt.dev/'
}, {
label: 'Portfolio',
to: 'https://portfolio-template.nuxt.dev/'
}]
}], [{
label: 'Documentation',
icon: 'i-lucide-book-open',
to: 'https://ui.nuxt.com/getting-started/installation/pro/nuxt',
to: 'https://ui4.nuxt.com/docs/getting-started/installation/nuxt',
target: '_blank'
}, {
label: 'GitHub repository',
icon: 'i-simple-icons-github',
to: 'https://github.com/nuxt-ui-pro/dashboard',
to: 'https://github.com/nuxt-ui-templates/dashboard',
target: '_blank'
}, {
label: 'Upgrade to Pro',
icon: 'i-lucide-rocket',
to: 'https://ui.nuxt.com/pro/purchase',
target: '_blank'
}], [{
label: 'Log out',
icon: 'i-lucide-log-out'
}]]))
Expand Down
2 changes: 1 addition & 1 deletion app/components/home/HomeChart.server.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<UCard :ui="{ body: '!px-0 !pt-0 !pb-3' }">
<UCard class="shrink-0" :ui="{ body: '!px-0 !pt-0 !pb-3' }">
<template #header>
<div>
<p class="text-xs text-muted uppercase mb-1.5">
Expand Down
6 changes: 3 additions & 3 deletions app/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ const links = [[{
}], [{
label: 'Feedback',
icon: 'i-lucide-message-circle',
to: 'https://github.com/nuxt-ui-pro/dashboard',
to: 'https://github.com/nuxt-ui-templates/dashboard',
target: '_blank'
}, {
label: 'Help & Support',
icon: 'i-lucide-info',
to: 'https://github.com/nuxt/ui-pro',
to: 'https://github.com/nuxt-ui-templates/dashboard',
target: '_blank'
}]] satisfies NavigationMenuItem[][]

Expand All @@ -83,7 +83,7 @@ const groups = computed(() => [{
id: 'source',
label: 'View page source',
icon: 'i-simple-icons-github',
to: `https://github.com/nuxt-ui-pro/dashboard/blob/main/app/pages${route.path === '/' ? '/index' : route.path}.vue`,
to: `https://github.com/nuxt-ui-templates/dashboard/blob/main/app/pages${route.path === '/' ? '/index' : route.path}.vue`,
target: '_blank'
}]
}])
Expand Down
7 changes: 1 addition & 6 deletions app/pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ const links = [[{
}], [{
label: 'Documentation',
icon: 'i-lucide-book-open',
to: 'https://ui.nuxt.com/getting-started/installation/pro/nuxt',
target: '_blank'
}, {
label: 'Buy now',
icon: 'i-lucide-shopping-cart',
to: 'https://ui.nuxt.com/pro/purchase',
to: 'https://ui4.nuxt.com/docs/getting-started/installation/nuxt',
target: '_blank'
}]] satisfies NavigationMenuItem[][]
</script>
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@nuxt/ui-pro',
'@nuxt/ui',
'@vueuse/nuxt'
],

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nuxt-ui-pro-template-dashboard",
"name": "nuxt-ui-template-dashboard",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -14,7 +14,7 @@
"dependencies": {
"@iconify-json/lucide": "^1.2.64",
"@iconify-json/simple-icons": "^1.2.49",
"@nuxt/ui-pro": "^3.3.2",
"@nuxt/ui": "^4.0.0-alpha.1",
"@unovis/ts": "^1.6.0",
"@unovis/vue": "^1.6.0",
"@vueuse/nuxt": "^13.7.0",
Expand Down
Loading