Skip to content

chore(deps): upgrade to @nuxt/ui v4 #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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=
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 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)
[![Nuxt UI](https://img.shields.io/badge/Made%20with-Nuxt%20UI-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com)
[![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)

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://ui.nuxt.com/getting-started/installation)

<a href="https://dashboard-template.nuxt.dev/" target="_blank">
<picture>
Expand Down
2 changes: 1 addition & 1 deletion app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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,
Expand Down
4 changes: 2 additions & 2 deletions 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 All @@ -15,4 +15,4 @@
--color-green-800: #016538;
--color-green-900: #0A5331;
--color-green-950: #052E16;
}
}
7 changes: 1 addition & 6 deletions app/components/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,14 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
}], [{
label: 'Documentation',
icon: 'i-lucide-book-open',
to: 'https://ui.nuxt.com/getting-started/installation/pro/nuxt',
to: 'https://ui.nuxt.com/getting-started/installation',
target: '_blank'
}, {
label: 'GitHub repository',
icon: 'i-simple-icons-github',
to: 'https://github.com/nuxt-ui-pro/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/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const links = [[{
}, {
label: 'Help & Support',
icon: 'i-lucide-info',
to: 'https://github.com/nuxt/ui-pro',
to: 'https://github.com/nuxt/ui',
target: '_blank'
}]] satisfies NavigationMenuItem[][]

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://ui.nuxt.com/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
6 changes: 3 additions & 3 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.57",
"@iconify-json/simple-icons": "^1.2.43",
"@nuxt/ui-pro": "^3.2.0",
"@nuxt/ui": "^4.0.0-alpha.0",
"@unovis/ts": "^1.5.2",
"@unovis/vue": "^1.5.2",
"@vueuse/nuxt": "^13.5.0",
Expand All @@ -40,4 +40,4 @@
]
},
"packageManager": "[email protected]"
}
}
Loading