-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
72 lines (70 loc) · 1.95 KB
/
nuxt.config.ts
File metadata and controls
72 lines (70 loc) · 1.95 KB
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
baseURL: "/kawagama/",
head: {
title: "Kawagama Water Data",
meta: [
// Primary Meta Tags
{ name: "title", content: "Kawagama Water Data" },
{
name: "description",
content: "A web app for visualizing kawagama lake water level data",
},
// Open Graph / Facebook
{ property: "og:type", content: "website" },
{ property: "og:url", content: "https://jvan.ca/kawagama" },
{ property: "og:title", content: "Kawagama Water Data" },
{
property: "og:description",
content: "A web app for visualizing kawagama lake water level data",
},
{
property: "og:image",
content: "https://jvan.ca/kawagama/meta-image.png",
},
// X (Twitter)
{ property: "twitter:card", content: "summary_large_image" },
{ property: "twitter:url", content: "https://jvan.ca/kawagama" },
{ property: "twitter:title", content: "Kawagama Water Data" },
{
property: "twitter:description",
content: "A web app for visualizing kawagama lake water level data",
},
{
property: "twitter:image",
content: "https://jvan.ca/kawagama/meta-image.png",
},
],
htmlAttrs: {
lang: "en",
},
},
},
colorMode: {
classSuffix: "", // Ensure Tailwind uses 'dark' class
preference: "system",
fallback: "light",
},
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
modules: [
"@nuxt/eslint",
"@nuxt/icon",
"@nuxt/image",
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"nitro-cloudflare-dev",
],
tailwindcss: {
exposeConfig: true,
viewer: true,
},
nitro: {
preset: "cloudflare_module",
cloudflare: {
deployConfig: true,
nodeCompat: true,
},
},
});