File tree Expand file tree Collapse file tree 4 files changed +1675
-3809
lines changed Expand file tree Collapse file tree 4 files changed +1675
-3809
lines changed Original file line number Diff line number Diff line change @@ -37,20 +37,41 @@ npx nuxi module add eslint
37
37
38
38
Once you start your Nuxt app, a ` eslint.config.mjs ` file will be generated under your project root. You can customize it as needed.
39
39
40
+ ::: callout { icon =" i-catppuccin-typescript " }
41
+
42
+ If you are using TypeScript, you need to install the ` typescript ` in your project:
43
+
44
+ :: code-group
45
+ ``` bash [yarn]
46
+ yarn add --dev typescript
47
+ ```
48
+ ``` bash [npm]
49
+ npm install -D typescript
50
+ ```
51
+ ``` bash [pnpm]
52
+ pnpm add -D typescript
53
+ ```
54
+ ``` bash [bun]
55
+ bun add -D typescript
56
+ ```
57
+ ::
58
+
59
+ :::
60
+
40
61
### Manual Setup
41
62
42
63
:: code-group
43
64
``` bash [yarn]
44
- yarn add --dev @nuxt/eslint eslint
65
+ yarn add --dev @nuxt/eslint eslint typescript
45
66
```
46
67
``` bash [npm]
47
- npm install --save-dev @nuxt/eslint eslint
68
+ npm install -D @nuxt/eslint eslint typescript
48
69
```
49
70
``` bash [pnpm]
50
- pnpm add -D @nuxt/eslint eslint
71
+ pnpm add -D @nuxt/eslint eslint typescript
51
72
```
52
73
``` bash [bun]
53
- bun add -D @nuxt/eslint eslint
74
+ bun add -D @nuxt/eslint eslint typescript
54
75
```
55
76
::
56
77
Original file line number Diff line number Diff line change @@ -54,4 +54,6 @@ export default defineNuxtConfig({
54
54
} ,
55
55
} ,
56
56
} ,
57
+
58
+ compatibilityDate : '2024-09-01' ,
57
59
} )
Original file line number Diff line number Diff line change 9
9
"preview" : " nuxi preview"
10
10
},
11
11
"dependencies" : {
12
+ "@vueuse/core" : " ^11.0.3"
13
+ },
14
+ "devDependencies" : {
15
+ "@iconify-json/catppuccin" : " ^1.2.0" ,
12
16
"@iconify-json/ph" : " ^1.2.0" ,
13
17
"@iconify-json/simple-icons" : " ^1.2.1" ,
14
18
"@nuxt/content" : " ^2.13.2" ,
15
19
"@nuxt/devtools" : " 1.3.1" ,
16
20
"@nuxt/fonts" : " ^0.7.2" ,
17
- "@nuxt/image" : " 1.7.0" ,
21
+ "@nuxt/image" : " ^1.8.0" ,
22
+ "@nuxt/ui" : " ^2.18.4" ,
18
23
"@nuxt/ui-pro" : " ^1.4.1" ,
19
24
"@nuxthq/studio" : " ^2.0.3" ,
20
25
"@nuxtjs/plausible" : " ^1.0.2" ,
21
- "@vueuse/core" : " ^11.0.3" ,
22
26
"@vueuse/nuxt" : " ^11.0.3" ,
23
27
"nuxt" : " ^3.13.0" ,
24
28
"nuxt-og-image" : " ^3.0.0-rc.65"
25
- },
26
- "resolutions" : {
27
- "@nuxt/ui" : " 2.15.2"
28
29
}
29
30
}
You can’t perform that action at this time.
0 commit comments