-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
65 lines (65 loc) · 1.71 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: false },
experimental: {
asyncContext: true,
},
ssr: true,
modules: ["@nuxt/ui", "@unocss/nuxt", "@pinia/nuxt", "@nuxt/eslint","@formkit/auto-animate/nuxt"],
unocss: {
nuxtLayers: true,
},
eslint: {
config: {
stylistic: true,
},
},
css: ["~/scss/index.scss"],
runtimeConfig: {
public: {
firebaseApiKey: "",
firebaseAuthDomain: "",
firebaseMessagingSenderId: "",
firebaseAppId: "",
firebaseMeasurementId: "",
firebaseProjectId: "",
firebaseStorageBucket: "",
},
geminiApiKey: "",
firebaseServiceAccount: "",
},
colorMode: {
preference: 'dark'
},
app: {
layoutTransition: { name: "layout", mode: "out-in" },
pageTransition: { name: "page", mode: "out-in" },
rootTag: "main",
rootAttrs: {
id: "app",
class: "flex p-5 w-full min-h-screen max-w-90rem",
},
head: {
htmlAttrs: {
lang: "en",
class: "dark ",
},
bodyAttrs: {
class: "dark bg-black flex items-center justify-center",
},
viewport: "width=device-width, initial-scale=1",
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1" },
],
style: [
{ children: ':root { font-family: "Space Mono", monospace; }'}
],
link: [
{ rel:"preconnect", href:"https://fonts.googleapis.com" },
{ rel:"preconnect", href:"https://fonts.gstatic.com" },
{ rel:"stylesheet", href:"https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap" }
],
},
},
});