-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
144 lines (134 loc) · 3.35 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
site: {
url: 'https://www.craft233.top'
},
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"@vueuse/nuxt",
"nuxt-icon",
"@samk-dev/nuxt-vcalendar",
"@vee-validate/nuxt",
"@morev/vue-transitions/nuxt",
"@nuxtjs/sitemap",
"v-wave/nuxt"
],
pages: true,
tailwindcss: {
exposeConfig: true,
},
colorMode: {
classSuffix: "",
},
typescript: {
shim: false,
},
imports: {
imports: [{
from: "tailwind-variants",
name: "tv",
}, {
from: "tailwind-variants",
name: "VariantProps",
type: true,
}, {
from: "vue-sonner",
name: "toast",
as: "useSonner"
}],
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
meta: [
{
name: "description",
content: "Craft233,一个休闲养老摸鱼系的Minecraft小服务器,欢迎加入我们,同我们一起成长!",
},
{
name: "robots",
content: "index, follow, max-image-preview:large, max-snippet:-1",
},
{
property: "og:locale",
content: "zh_CN",
},
{
property: "og:type",
content: "website",
},
{
property: "og:title",
content: "Craft233 | 主页",
},
{
property: "og:url",
content: "https://www.craft233.top",
},
{
property: "og:site_name",
content: "Craft233 | 主页",
},
{
property: "og:image",
content: "https://www.craft233.top/assets/img/index/town.png",
},
{
property: "og:image:width",
content: "1920",
},
{
property: "og:width:height",
content: "1080",
},
{
property: "og:image:type",
content: "image/png",
},
{
name: "twitter:card",
content: "summary_large_image",
},
{
name: "twitter:title",
content: "Craft233 | 主页",
},
{
property: "twitter:description",
content: "Craft233,一个休闲养老摸鱼系的Minecraft小服务器,欢迎加入我们,同我们一起成长!",
},
{
itemprop: "name",
content: "Craft233 | 主页",
},
{
itemprop: "description",
content: "Craft233,一个休闲养老摸鱼系的Minecraft小服务器,欢迎加入我们,同我们一起成长!",
},
{
itemprop: "image",
content: "https://res.neokoni.ink/craft233/img/icon_main.png",
},
{
itemprop: "description",
content: "Craft233,一个休闲养老摸鱼系的Minecraft小服务器,欢迎加入我们,同我们一起成长!",
},
],
// script
script: [{
src: "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.9/pdfmake.min.js",
defer: true
}, {
src: "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.9/vfs_fonts.min.js",
defer: true
}]
}
},
build: {
transpile: ["vue-sonner"]
},
compatibilityDate: "2024-08-06"
});