-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
89 lines (87 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
// https://nuxt.com/docs/api/configuration/nuxt-config
const meta = {
title: "FormKit Themes",
description:
"Versatile, configurable, MIT-licensed Tailwind themes for use in your projects. Spend less time styling — more time building.",
};
export default defineNuxtConfig({
app: {
head: {
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
meta: [
{ charset: "utf-8" },
{
name: "viewport",
content: "width=device-width, initial-scale=1",
},
{
name: "description",
content: meta.description,
},
{ name: "format-detection", content: "telephone=no" },
{
name: "og:description",
content: meta.description,
},
{
name: "og:site_name",
content: "FormKit Themes",
},
{
name: "og:title",
content: meta.title,
},
{
name: "og:image",
content: "https://themes.formkit.com/og.png",
},
{
name: "twitter:card",
content: "summary_large_image",
},
{
name: "twitter:image",
content: "https://themes.formkit.com/og.png",
},
{
name: "apple-mobile-web-app-title",
content: "FormKit Themes",
},
],
script: [
{
src: "https://cdn.tailwindcss.com",
id: "formkit-tailwind-script",
},
{
innerHTML: `
tailwind.config = {
darkMode: 'class',
}
`,
},
],
},
},
devtools: { enabled: false },
modules: ["@formkit/nuxt"],
css: ["~/assets/css/main.css"],
runtimeConfig: {
public: {
formkitProKey: process.env.FORMKIT_PRO_KEY,
},
},
nitro: {
storage: {
kv: {
driver: process.env.KV_DRIVER,
accountId: process.env.KV_ACCOUNT_ID,
namespaceId: process.env.KV_NAMESPACE_ID,
apiToken: process.env.KV_API_TOKEN,
},
},
},
colorMode: {
classSuffix: "",
},
});