Skip to content

Commit 91ff8a5

Browse files
author
Jässin
committed
add nuxt studio 1.0.0
1 parent 4163f50 commit 91ff8a5

2 files changed

Lines changed: 44 additions & 35 deletions

File tree

nuxt.config.ts

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,46 @@
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: ["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-
},
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+
},
3746
});

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.0.0-beta.1",
21+
"nuxt-studio": "^1.0.0",
2222
"radix-vue": "^1.9.17",
2323
"typescript": "^5.9.3",
2424
"vue": "^3.5.22",

0 commit comments

Comments
 (0)