-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
46 lines (46 loc) · 992 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
43
44
45
46
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["nuxt-swiper", "@vueuse/motion/nuxt", "@nuxtjs/i18n"],
i18n: {
/* module options */
lazy: true,
langDir: "locales",
strategy: "prefix_except_default",
locales: [
{
code: "en-US",
iso: "en-US",
name: "English(US)",
file: "en-US.json",
},
//germen
{
code: "de-DE",
iso: "de-DE",
name: "Deutsch",
file: "de-DE.json",
},
//french
{
code: "fr-FR",
iso: "fr-FR",
name: "Français",
file: "fr-FR.json",
},
],
defaultLocale: "en-US",
},
css: [
"~/assets/css/main.css",
"@splidejs/splide/dist/css/splide.min.css",
// or
"@splidejs/splide/dist/css/themes/splide-skyblue.min.css",
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
});