generated from leamsigc/nuxt-better-auth-drizzle
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathnuxt.config.ts
122 lines (120 loc) · 2.81 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
import { checkEnv } from "./config/env.config"
import { env } from "node:process";
checkEnv(env);
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
future: { compatibilityVersion: 4 },
devtools: { enabled: true },
modules: [
"@nuxtjs/tailwindcss",
"@vueuse/nuxt",
"@formkit/nuxt",
"shadcn-nuxt",
"@nuxt/eslint",
"radix-vue/nuxt",
"@nuxt/image",
"@nuxtjs/color-mode",
"@nuxt/icon",
'@unlighthouse/nuxt',
"@nuxt/fonts",
'@vueuse/motion/nuxt',
"@nuxtjs/seo",
"@nuxt/content",
'nuxt-umami'
],
umami: {
id: '1fe4398a-2c75-437c-887e-22a11e5cde39',
host: 'https://umami.giessen.dev',
autoTrack: true,
ignoreLocalhost: true
},
formkit: {
// autoImport: true,
configFile: './config/formkit.config.ts',
},
tailwindcss: {
exposeConfig: true,
editorSupport: true,
configPath: "./config/tailwind.config.ts"
},
shadcn: {
/**
* Prefix for all the imported component
*/
prefix: 'Ui',
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: './app/components/ui'
},
colorMode: {
classSuffix: ''
},
components: [
{
path: "~/components",
pathPrefix: false
}
],
site: {
url: 'https://must-know-resources-for-programmers.giessen.dev',
name: 'Must Know Resources for Developers by Giessen Dev',
description: 'A comprehensive collection of essential resources, tools, and guides for programmers and developers at all skill levels.',
},
sitemap: {
sources: [
'/api/__sitemap__/urls'
]
},
seo: {
meta: {
description: 'Must Know Resources for Developers by Giessen Dev- A comprehensive collection of essential resources, tools, and guides for programmers and developers at all skill levels.',
themeColor: [
{ content: '#18181b', media: '(prefers-color-scheme: dark)' },
{ content: 'white', media: '(prefers-color-scheme: light)' },
],
},
},
image: {
quality: 75,
format: ['webp'],
},
ogImage: {
componentOptions: {
global: true
}
},
linkChecker: {
report: {
// generate both a html and markdown report
html: false,
markdown: true,
}
},
content: {
preview: {
api: 'https://api.nuxt.studio'
},
build: {
pathMeta: {
forceLeadingSlash: true
},
markdown: {
highlight: {
// Theme used in all color schemes.
// theme: 'github-light',
// OR
theme: {
// Default theme (same as single string)
default: 'github-light',
// Theme used if `html.dark`
dark: 'github-dark',
// Theme used if `html.sepia`
sepia: 'monokai'
}
}
}
}
}
})