-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
48 lines (44 loc) · 1.31 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
export default defineNuxtConfig({
devtools: { enabled: true },
compatibilityDate: '2025-01-19',
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxtjs/i18n'],
app: {
head: {
title: 'AAPS Builder',
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
script: [
{
src: 'https://boomerang.ju60.de/main.js',
defer: true,
async: true,
'data-website-id': '80133bac-4a15-4e39-96cf-fa3edfff3c3c',
'data-domains': 'aaps-builder.vercel.app',
},
],
},
},
runtimeConfig: {
githubClientSecret: process.env.GITHUB_CLIENT_SECRET,
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
dropboxClientSecret: process.env.DROPBOX_CLIENT_SECRET,
public: {
appUrl: process.env.APP_URL || 'http://localhost:3000',
githubClientId: process.env.GITHUB_CLIENT_ID,
googleClientId: process.env.GOOGLE_CLIENT_ID,
dropboxClientId: process.env.DROPBOX_CLIENT_ID,
},
},
i18n: {
strategy: 'no_prefix',
defaultLocale: 'en',
locales: [
{ code: 'en', file: 'en.json' },
{ code: 'de', file: 'de.json' },
],
// detectBrowserLanguage: {
// useCookie: true,
// cookieKey: 'i18n_redirected',
// redirectOn: 'root', // recommended
// },
},
});