Skip to content

Commit 8c058cc

Browse files
committed
chore: nuxt 4
1 parent ba66e38 commit 8c058cc

File tree

7 files changed

+1185
-851
lines changed

7 files changed

+1185
-851
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<p align="center">
77
<a href="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/vuejs/vue">
8-
<img src="https://img.shields.io/badge/nuxt-3-brightgreen.svg" alt="vue">
8+
<img src="https://img.shields.io/badge/nuxt-4-brightgreen.svg" alt="nuxt">
99
</a>
1010
<a href="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/vuetifyjs/vuetify">
1111
<img src="https://img.shields.io/badge/vuetify-3-blue.svg" alt="vuetify">

app/components/App/AppDrawer.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ drawerState.value = lgAndUp.value && width.value !== 1280
7474

7575
<style>
7676
.v-navigation-drawer {
77-
transition-property: box-shadow, transform, visibility, width, height, left,
78-
right, top, bottom, border-radius !important;
77+
transition-property:
78+
box-shadow, transform, visibility, width, height, left, right, top, bottom,
79+
border-radius !important;
7980
overflow: hidden;
8081
&.v-navigation-drawer--rail {
8182
border-top-right-radius: 0px;

app/components/StatsCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ withDefaults(
55
iconClass?: string
66
color: string
77
title: string
8-
value: number | null
8+
value?: number | null
99
unit?: string
1010
formatter?: (v: number) => string
1111
}>(),

nuxt.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { defineNuxtConfig } from 'nuxt/config'
44
// https://nuxt.com/docs/api/configuration/nuxt-config
55
export default defineNuxtConfig({
66
devtools: { enabled: true },
7-
future: {
8-
compatibilityVersion: 4,
9-
},
107
modules: [
118
'@pinia/nuxt',
129
'@vueuse/nuxt',

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"type": "module",
4-
"packageManager": "pnpm@10.12.4",
4+
"packageManager": "pnpm@10.13.1",
55
"scripts": {
66
"build": "nuxt build",
77
"dev": "nuxt dev -o",
@@ -19,13 +19,13 @@
1919
"@nuxt/icon": "^1.15.0",
2020
"@nuxt/test-utils": "^3.19.2",
2121
"@vue/test-utils": "^2.4.6",
22-
"eslint": "^9.30.1",
22+
"eslint": "^9.31.0",
2323
"happy-dom": "^18.0.1",
24-
"nuxt": "^3.17.6",
24+
"nuxt": "^4.0.0",
2525
"nuxt-echarts": "^0.3.3",
26-
"playwright-core": "^1.53.2",
26+
"playwright-core": "^1.54.1",
2727
"prettier": "^3.6.2",
28-
"vite": "^7.0.3",
28+
"vite": "^7.0.4",
2929
"vitest": "^3.2.4",
3030
"vue-tsc": "^3.0.1",
3131
"vuetify-nuxt-module": "^0.18.7"

pnpm-lock.yaml

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

tests/browser.e2e.test.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ await setup({
77
browser: true,
88
})
99
describe('page /homepage', () => {
10-
it(
11-
'should render',
12-
async () => {
13-
const page = await createPage('/')
14-
await page.getByText('Opinionated Starter Template').isVisible()
15-
await page.close()
16-
},
17-
20000
18-
)
10+
it('should render', async () => {
11+
const page = await createPage('/')
12+
await page.getByText('Opinionated Starter Template').isVisible()
13+
await page.close()
14+
}, 20000)
1915

2016
it('should show notification', async () => {
2117
const page = await createPage('/')

0 commit comments

Comments
 (0)