-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
90 lines (89 loc) · 1.98 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
78
79
80
81
82
83
84
85
86
87
88
89
90
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-11-01",
devtools: { enabled: true },
app: {
head: {
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
charset: "utf-8",
viewport: "width=device-width, initial-scale=1",
htmlAttrs: {
lang: "en",
},
},
},
site: {
url: "https://cosmify.dev",
name: "Cosmify Documentation",
},
modules: [
"nuxt-seo-utils",
"@nuxt/eslint",
"shadcn-nuxt",
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"nuxt-svgo",
"@nuxtjs/plausible",
"@nuxtjs/sitemap",
"@nuxtjs/robots",
"@nuxt/content",
],
seo: {
meta: {
description: "Own Your Platform. Self-Host Your PaaS with Cosmify.",
themeColor: [
{ content: "#18181b", media: "(prefers-color-scheme: dark)" },
{ content: "white", media: "(prefers-color-scheme: light)" },
],
author: "Alexander Padberg <undefinedhuman>",
colorScheme: "dark light",
applicationName: "Cosmify Documentation",
ogSiteName: "Cosmify Documentation",
ogLocale: "en_US",
ogType: "website",
ogUrl: "https://cosmify.dev",
ogTitle: "Cosmify Documentation",
},
},
plausible: {
ignoredHostnames: ["localhost"],
},
svgo: {
svgo: false,
defaultImport: "component",
},
ssr: true,
nitro: {
static: true,
prerender: {
routes: [
"/sitemap.xml",
"/",
"/docs/getting-started/installation",
"/docs/community/contribute-docs",
],
},
},
content: {
build: {
markdown: {
toc: {
depth: 3,
searchDepth: 2,
},
highlight: {
theme: {
default: "github-light",
dark: "github-dark",
sepia: "monokai",
},
},
},
},
},
shadcn: {
prefix: "",
componentDir: "./components/ui",
},
pages: true,
});