-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
35 lines (34 loc) · 940 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: {
enabled: true,
timeline: {
enabled: true,
},
},
modules: ["@nuxtjs/i18n"],
css: ["~/assets/css/main.css", "~/assets/css/fonts.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
i18n: {
locales: ["fr", "us", "de", "it"],
defaultLocale: "fr",
vueI18n: "./i18n.config.ts",
strategy: "prefix_except_default",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "i18n_redirected",
alwaysRedirect: true,
fallbackLocale: "us",
},
},
runtimeConfig: {
APPLE_TEAM_ID: process.env.APPLE_TEAM_ID,
APPLE_KEY_ID: process.env.APPLE_KEY_ID,
APPLE_PRIVATE_KEY: process.env.APPLE_PRIVATE_KEY,
},
});