Skip to content

Commit 9f65c3b

Browse files
committed
chore(deps): upgrade to @nuxt/ui v4
1 parent 9ad7029 commit 9f65c3b

File tree

10 files changed

+395
-441
lines changed

10 files changed

+395
-441
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Vue Dashboard Template
22

3-
[![Nuxt UI Pro](https://img.shields.io/badge/Made%20with-Nuxt%20UI%20Pro-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com/pro)
3+
[![Nuxt UI](https://img.shields.io/badge/Made%20with-Nuxt%20UI-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com)
44

5-
Get started with the Vite + Vue 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).
5+
Get started with the Vite + Vue dashboard template with multiple pages, collapsible sidebar, keyboard shortcuts, light & dark more, command palette and more, powered by [Nuxt UI](https://ui.nuxt.com).
66

77
- [Live Demo](https://vue-dashboard-template.nuxt.dev)
8-
- [Documentation](https://ui.nuxt.com/getting-started/installation/pro/vue)
8+
- [Documentation](https://ui.nuxt.com/getting-started/installation/vue)
99

1010
<a href="https://vue-dashboard-template.nuxt.dev/" target="_blank">
1111
<picture>

index.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<link rel="preconnect" href="https://fonts.bunny.net">
8-
<link href="https://fonts.bunny.net/css?family=public-sans:400,500,600,700" rel="stylesheet" />
9-
<title>Vue Dashboard Template</title>
10-
<meta name="description" content="A professional dashboard template built with Nuxt UI Pro, featuring multiple pages, data visualization, and comprehensive management capabilities for creating powerful admin interfaces.">
11-
</head>
12-
<body>
13-
<div id="app" class="isolate"></div>
14-
<script type="module" src="/src/main.ts"></script>
15-
</body>
16-
</html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<link rel="preconnect" href="https://fonts.bunny.net">
9+
<link href="https://fonts.bunny.net/css?family=public-sans:400,500,600,700" rel="stylesheet" />
10+
<title>Vue Dashboard Template</title>
11+
<meta name="description"
12+
content="A professional dashboard template built with Nuxt UI, featuring multiple pages, data visualization, and comprehensive management capabilities for creating powerful admin interfaces.">
13+
</head>
14+
15+
<body>
16+
<div id="app" class="isolate"></div>
17+
<script type="module" src="/src/main.ts"></script>
18+
</body>
19+
20+
</html>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nuxt-ui-pro-template-dashboard-vue",
2+
"name": "nuxt-ui-template-dashboard-vue",
33
"private": true,
44
"type": "module",
55
"scripts": {
@@ -10,7 +10,7 @@
1010
"typecheck": "vue-tsc -p ./tsconfig.app.json"
1111
},
1212
"dependencies": {
13-
"@nuxt/ui-pro": "^3.2.0",
13+
"@nuxt/ui": "^4.0.0-alpha.0",
1414
"@unovis/vue": "^1.5.2",
1515
"date-fns": "^4.1.0",
1616
"vue": "^3.5.17",

pnpm-lock.yaml

Lines changed: 366 additions & 404 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const links = [[{
7171
}, {
7272
label: 'Help & Support',
7373
icon: 'i-lucide-info',
74-
to: 'https://github.com/nuxt/ui-pro',
74+
to: 'https://github.com/nuxt/ui',
7575
target: '_blank'
7676
}]] satisfies NavigationMenuItem[][]
7777

src/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "tailwindcss" theme(static);
2-
@import "@nuxt/ui-pro";
2+
@import "@nuxt/ui";
33

44
@theme static {
55
--font-sans: 'Public Sans', sans-serif;

src/components/UserMenu.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,13 @@ const items = computed<DropdownMenuItem[][]>(() => ([[{
109109
}], [{
110110
label: 'Documentation',
111111
icon: 'i-lucide-book-open',
112-
to: 'https://ui.nuxt.com/getting-started/installation/pro/vue',
112+
to: 'https://ui.nuxt.com/getting-started/installation/vue',
113113
target: '_blank'
114114
}, {
115115
label: 'GitHub repository',
116116
icon: 'simple-icons:github',
117117
to: 'https://github.com/nuxt-ui-pro/dashboard-vue',
118118
target: '_blank'
119-
}, {
120-
label: 'Upgrade to Pro',
121-
icon: 'i-lucide-rocket',
122-
to: 'https://ui.nuxt.com/pro/purchase',
123-
target: '_blank'
124119
}], [{
125120
label: 'Log out',
126121
icon: 'i-lucide-log-out'

src/pages/settings.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ const links = [[{
2121
}], [{
2222
label: 'Documentation',
2323
icon: 'i-lucide-book-open',
24-
to: 'https://ui.nuxt.com/getting-started/installation/pro/nuxt',
25-
target: '_blank'
26-
}, {
27-
label: 'Buy now',
28-
icon: 'i-lucide-shopping-cart',
29-
to: 'https://ui.nuxt.com/pro/purchase',
24+
to: 'https://ui.nuxt.com/getting-started/installation/vue',
3025
target: '_blank'
3126
}]] satisfies NavigationMenuItem[][]
3227
</script>

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { defineConfig } from 'vite'
22
import vue from '@vitejs/plugin-vue'
3-
import uiPro from '@nuxt/ui-pro/vite'
3+
import ui from '@nuxt/ui/vite'
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
77
plugins: [
88
vue(),
9-
uiPro({
9+
ui({
1010
ui: {
1111
colors: {
1212
primary: 'green',

0 commit comments

Comments
 (0)