|
1 | 1 | // https://nuxt.com/docs/api/configuration/nuxt-config |
2 | 2 | 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 | + }, |
36 | 36 | }); |
0 commit comments