-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
54 lines (54 loc) · 1.37 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
css: ["~/assets/css/main.css"],
plugins: ["~/plugins/browser-check.ts", "~/plugins/overlayscrollbars.ts"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: {
head: {
title: "火种档案",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
key: "description",
name: "火种档案",
content: "一个流浪地球设计资源站",
},
],
link: [
{
rel: "icon",
type: "image/svg+xml",
href: "/tac-logo/symbol-black.svg",
media: "(prefers-color-scheme: light)",
},
{
rel: "icon",
type: "image/svg+xml",
href: "/tac-logo/symbol-white.svg",
media: "(prefers-color-scheme: dark)",
},
],
script: [
{
defer: true,
src: "https://cloud.umami.is/script.js",
"data-website-id": "42ae9f33-340c-43dc-9807-122b857d5d22",
},
],
htmlAttrs: {
"data-overlayscrollbars-initialize": true,
},
bodyAttrs: {
"data-overlayscrollbars-initialize": true,
},
},
},
});