-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
69 lines (68 loc) · 1.57 KB
/
Copy pathnuxt.config.ts
File metadata and controls
69 lines (68 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { resolveModulePath } from 'exsolve'
import { defineNuxtConfig } from 'nuxt/config'
import { layerIconCollections } from './utils/icons'
export default defineNuxtConfig({
compatibilityDate: '2026-06-09',
devtools: { enabled: true },
modules: [
'@nuxt/ui',
'@comark/nuxt',
'@nuxtjs/robots',
'@nuxtjs/sitemap',
'nuxt-seo-utils',
'nuxt-og-image',
'@nuxtjs/mcp-toolkit'
],
ignore: ['content/**'],
ui: { content: true, prose: true },
sitemap: {
sources: ['/api/__sitemap__/urls'], exclude: ['/tree/**', '/blob/**']
},
ogImage: { zeroRuntime: false },
icon: {
provider: 'iconify',
customCollections: layerIconCollections() as never,
clientBundle: {
scan: true,
includeCustomCollections: false
},
},
vite: {
resolve: {
alias: { 'beautiful-mermaid': resolveModulePath('beautiful-mermaid', { from: import.meta.url }) },
},
optimizeDeps: {
include: [
'beautiful-mermaid',
'comark-docs > ai > @ai-sdk/gateway > @vercel/oidc',
],
},
},
nitro: {
vercel: {
config: {
bypassToken: process.env.VERCEL_BYPASS_TOKEN,
},
},
},
experimental: {
payloadExtraction: 'client',
},
runtimeConfig: {
assistant: {
// Gateway model serving /api/assistant (can be overridden with NUXT_ASSISTANT_MODEL).
model: 'anthropic/claude-sonnet-5',
},
public: {
mdc: {
headings: {
anchorLinks: {
h2: true,
h3: true,
h4: true,
},
},
},
},
},
})