Skip to content

Commit d1ba358

Browse files
install nuxt studio alpha
1 parent b608285 commit d1ba358

File tree

2 files changed

+35
-34
lines changed

2 files changed

+35
-34
lines changed

nuxt.config.ts

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
"postinstall": "nuxt prepare"
1111
},
1212
"dependencies": {
13-
"@nuxt/content": "^3.7.1",
13+
"@nuxt/content": "^3.9.0",
1414
"@nuxt/image": "^1.11.0",
1515
"@nuxt/ui": "^4.0.1",
1616
"better-sqlite3": "^12.4.1",
1717
"class-variance-authority": "^0.7.1",
1818
"clsx": "^2.1.1",
1919
"lucide-vue-next": "^0.546.0",
2020
"nuxt": "^4.1.3",
21+
"nuxt-studio": "^1.0.0-alpha.3",
2122
"radix-vue": "^1.9.17",
2223
"typescript": "^5.9.3",
2324
"vue": "^3.5.22",

0 commit comments

Comments
 (0)