-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
77 lines (69 loc) · 1.9 KB
/
nuxt.config.ts
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
70
71
72
73
74
75
76
77
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
"@nuxt/content",
"@nuxt/ui",
"@nuxtjs/google-fonts",
"nuxt-testimonial",
'@nuxtjs/color-mode',
'@zadigetvoltaire/nuxt-gtm',
"@nuxtjs/sitemap"
],
site: {
url: 'https://www.openmobilealliance.org/',
name: 'Website of OMA SpecWork as an innovative kind of Standards Development Organization'
},
colorMode: {
preference: 'system'
},
content: {
highlight: {
theme: {
default: 'github-dark',
},
},
markdown: {
anchorLinks: false
},
api: {
baseURL: '/site-api/_content'
}
},
icon: {
provider: 'iconify',
serverBundle: false,
},
gtm: {
id: 'GTM-T55F5MHQ', // Your GTM single container ID, array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy'] or array of objects [{id: 'GTM-xxxxxx', queryParams: { gtm_auth: 'abc123', gtm_preview: 'env-4', gtm_cookies_win: 'x'}}, {id: 'GTM-yyyyyy', queryParams: {gtm_auth: 'abc234', gtm_preview: 'env-5', gtm_cookies_win: 'x'}}], // Your GTM single container ID or array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy']
},
googleFonts: {
families: {
"Roboto": [300, 400, 600, 700],
"DM Sans": [400, 500, 600, 700],
"DM Mono": [400, 500],
},
},
app: {
// baseURL: process.NODE_ENV === 'production' ? "/oma-knowledge-base/" : '/',
head: {
charset: "utf-8",
htmlAttrs: {
lang: 'en'
},
viewport: "width=device-width, initial-scale=1",
link: [
{ rel: "shortcut icon", href: "/favicon-1.png", type: "image/x-icon" },
],
},
},
devtools: { enabled: true },
compatibilityDate: "2024-08-13",
nitro: {
prerender: {
crawlLinks: true,
routes: ['/news', '/news/articles', '/guidelines'],
ignore: ['/www.ericsson.com'],
failOnError: false,
},
}
});