-
Notifications
You must be signed in to change notification settings - Fork 27
/
nuxt.config.ts
53 lines (53 loc) · 1.19 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-07-30",
future: { compatibilityVersion: 4 },
modules: [
"@nuxthub/core",
"@nuxt/ui",
"@nuxt/scripts",
"@nuxt/fonts",
"nuxt-auth-utils",
"@nuxt/image",
"@nuxt/icon",
],
app: {
head: {
htmlAttrs: {
lang: "en",
},
},
},
hub: {
kv: true,
},
colorMode: {
preference: "light",
},
fonts: {
families: [
{
name: "Recoleta",
provider: "local",
weights: ["700"],
},
],
},
runtimeConfig: {
session: {
maxAge: 60 * 60 * 24 * 7,
},
LEMONSQUEEZY_API_KEY: process.env.LEMONSQUEEZY_API_KEY,
LEMONSQUEEZY_STORE_ID: process.env.LEMONSQUEEZY_STORE_ID,
lemonSqueezyWebhookSecret: process.env.LEMONSQUEEZY_WEBHOOK_SECRET,
githubOwner: process.env.GITHUB_OWNER,
githubToken: process.env.GITHUB_TOKEN,
githubRepo: process.env.GITHUB_REPO,
telegramBotToken: process.env.TELEGRAM_BOT_TOKEN,
telegramChatId: process.env.TELEGRAM_CHAT_ID,
public: {
productUrl: process.env.LEMONSQUEEZY_PRODUCT_URL,
},
},
devtools: { enabled: true },
});