-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
46 lines (41 loc) · 1.19 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
export default defineNuxtConfig({
modules: [
"@nuxt/content",
"@nuxtjs/tailwindcss",
"nuxt-icon",
"@nuxtjs/color-mode",
"@nuxthq/studio",
"@nuxt/image"
],
content: {
highlight: {
theme: "github-dark",
},
},
app: {
head: {
charset: "utf-8",
viewport: "width=device-width, initial-scale=1, shrink-to-fit=no",
link: [
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
{
rel: "preload",
as: "style",
onload: "this.onload = null; this.rel = 'stylesheet';",
href: "https://fonts.googleapis.com/css2?family=Comfortaa:[email protected]&family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&display=swap",
},
],
},
pageTransition: { name: "page", mode: "out-in" },
layoutTransition: { name: "slide", mode: "out-in" },
},
tailwindcss: {
cssPath: ["~/assets/css/tailwind.css", { injectPosition: "first" }],
configPath: "tailwind.config",
viewer: true,
},
colorMode: { classSuffix: "" },
devtools: { enabled: false },
compatibilityDate: "2024-07-03",
});