-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathnuxt.config.ts
62 lines (61 loc) · 1.73 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
"@nuxt/ui",
"@sidebase/nuxt-auth",
"dayjs-nuxt",
"@pinia/nuxt",
"@productdevbook/chatwoot",
],
app: {
head: {
title: "OpenformStack",
meta: [
{
name: "description",
content:
"Open source form backend that allows you to collect form submissions without writing any backend code",
},
{ charset: "utf-8" },
],
},
},
runtimeConfig: {
GOOGLE_CLIENT_SECRET: process.env.GOOGLE_CLIENT_SECRET,
API_ROUTE_SECRET: process.env.API_ROUTE_SECRET,
RESEND_API_KEY: process.env.RESEND_API_KEY,
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY,
STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET,
PRO_MONTHLY_PRICE_ID: process.env.PRO_MONTHLY_PRICE_ID,
PRO_YEARLY_PRICE_ID: process.env.PRO_YEARLY_PRICE_ID,
BYESPAM_API_KEY: process.env.BYESPAM_API_KEY,
public: {
FROM_MAIL: process.env.FROM_MAIL,
GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
BASE_URL: process.env.BASE_URL,
// SEO
siteUrl: process.env.BASE_URL || "https://openformstack.com",
siteName: "OpenformStack",
siteDescription:
"Open source form backend that allows you to collect form submissions without writing any backend code",
language: "en",
},
},
pinia: {
autoImports: ["defineStore", ["defineStore", "definePiniaStore"]],
},
colorMode: {
preference: "light",
},
chatwoot: {
init: {
websiteToken: process.env.CHATWOOT_WEBSITE_TOKEN,
},
settings: {
locale: "en",
position: "left",
launcherTitle: "Chat",
},
},
});