-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
89 lines (82 loc) · 2.07 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
import { defineNuxtConfig } from "nuxt/config";
export default defineNuxtConfig({
css: ["~/assets/scss/main.scss"],
routeRules: {
"/admin/**": {},
},
sitemap: {
sources: ["/api/posts/urls"],
xsl: false,
},
site: {
url: "https://greenbabyborn.ru",
},
app: {
rootId: "green",
head: {
meta: [
{ name: "description", content: "лаборатория зелёнорождённого" },
{
name: "keywords",
content:
"зеленый ребенок родился, greenbabyborn, зеленыйребенокродился, гринбейбиборн, green baby born, зеленый блог, ivan green, vue developer, nuxt developer, fullstack, javascript, typescript",
},
{ name: "author", content: "greenbabyborn" },
],
link: [
// {
// rel: "icon",
// type: "image/png",
// sizes: "192x192",
// href: "/favicon-192x192.png",
// },
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "/favicon-32x32.png",
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "/favicon-16x16.png",
},
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/apple-touch-icon.png",
},
],
},
pageTransition: { name: "page", mode: "out-in" },
layoutTransition: { name: "layout", mode: "out-in" },
},
fileStorage: {
mount: process.env.MOUNT,
},
modules: [
"@nuxtjs/color-mode",
"@pinia/nuxt",
"nuxt-yandex-metrika",
"nuxt-file-storage",
"@vee-validate/nuxt",
"@nuxtjs/sitemap",
],
yandexMetrika: {
id: "94783808",
debug: process.env.NODE_ENV !== "production",
delay: 0,
cdn: false,
verification: null, // Verification in Yandex Webmaster
options: {
webvisor: true,
},
},
colorMode: {
preference: "system",
fallback: "light",
storageKey: "theme",
},
compatibilityDate: "2024-07-08",
});