-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
42 lines (41 loc) · 999 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
36
37
38
39
40
41
42
// https://nuxt.com/docs/api/configuration/nuxt-config
// import { defineNuxtConfig } from ;
export default defineNuxtConfig({
modules: [
"@nuxtjs/tailwindcss",
[
"@nuxtjs/i18n",
{
baseUrl: "https://sinan.daroukh.fr",
locales: [
{
code: "en",
iso: "en-US",
file: "en-US.json",
},
{
code: "fr",
iso: "fr-FR",
file: "fr-FR.json",
},
],
langDir: "locales/",
strategy: "no_prefix",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "i18n_redirected",
redirectOn: "root", // recommended
},
},
],
],
css: ["@fortawesome/fontawesome-svg-core/styles.css"],
build: {
transpile: [
"@fortawesome/vue-fontawesome",
"@fortawesome/fontawesome-svg-core",
"@fortawesome/free-brands-svg-icons",
"@fortawesome/free-solid-svg-icons",
],
},
});