Skip to content

Commit 5cd3718

Browse files
upgrade nuxt studio
1 parent 64b4e32 commit 5cd3718

2 files changed

Lines changed: 35 additions & 44 deletions

File tree

nuxt.config.ts

Lines changed: 34 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,37 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3-
compatibilityDate: "2025-07-15",
4-
devtools: { enabled: true },
5-
ssr: true,
6-
modules: ["@nuxt/content", "nuxt-studio", "@nuxt/ui", "@nuxt/image"],
7-
css: ["~/assets/css/main.css"],
8-
experimental: {
9-
viewTransition: true,
10-
},
11-
app: {
12-
pageTransition: { name: "page", mode: "out-in" },
13-
layoutTransition: { name: "layout", mode: "out-in" },
14-
},
15-
content: {
16-
preview: {
17-
api: "https://jaess.in",
18-
},
19-
build: {
20-
markdown: {
21-
highlight: {
22-
theme: "github-dark",
23-
langs: [
24-
"vue",
25-
"typescript",
26-
"javascript",
27-
"bash",
28-
"python",
29-
"json",
30-
"yml",
31-
"diff",
32-
],
33-
},
34-
},
35-
},
36-
},
37-
studio: {
38-
repository: {
39-
provider: "github",
40-
owner: "probablyjassin",
41-
repo: "probablyjassin.github.io",
42-
branch: "main",
43-
//rootDir: '' // optional: location of your content app
44-
},
45-
},
3+
compatibilityDate: "2025-07-15",
4+
devtools: { enabled: true },
5+
ssr: true,
6+
modules: ["@nuxt/content", "nuxt-studio", "@nuxt/ui", "@nuxt/image"],
7+
css: ["~/assets/css/main.css"],
8+
experimental: {
9+
viewTransition: true,
10+
},
11+
app: {
12+
pageTransition: { name: "page", mode: "out-in" },
13+
layoutTransition: { name: "layout", mode: "out-in" },
14+
},
15+
content: {
16+
preview: {
17+
api: "https://jaess.in",
18+
},
19+
build: {
20+
markdown: {
21+
highlight: {
22+
theme: "github-dark",
23+
langs: ["vue", "typescript", "javascript", "bash", "python", "json", "yml", "diff"],
24+
},
25+
},
26+
},
27+
},
28+
studio: {
29+
repository: {
30+
provider: "github",
31+
owner: "probablyjassin",
32+
repo: "probablyjassin.github.io",
33+
branch: "main",
34+
//rootDir: '' // optional: location of your content app
35+
},
36+
},
4637
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"clsx": "^2.1.1",
1919
"lucide-vue-next": "^0.546.0",
2020
"nuxt": "^4.1.3",
21-
"nuxt-studio": "^1.2.0",
21+
"nuxt-studio": "^1.3.2",
2222
"radix-vue": "^1.9.17",
2323
"typescript": "^5.9.3",
2424
"vue": "^3.5.22",

0 commit comments

Comments
 (0)