-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
33 lines (28 loc) · 1.01 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@unocss/nuxt', '@nuxtjs/color-mode', 'nuxt-icon', '@nuxtjs/i18n', '@vueuse/nuxt', '@nuxtjs/plausible'],
css: ['@unocss/reset/tailwind.css'],
// @nuxtjs/color-mode (UnoCSS compat)
colorMode: {
classSuffix: ''
},
// @nuxtjs/i18n
i18n: {
defaultLocale: 'it',
strategy: 'no_prefix',
locales: [
{ code: 'it', iso: 'it-IT', name: 'Italiano' },
{ code: 'en', iso: 'en-US', name: 'English' }
]
},
routeRules: {
// Socials redirects
'/linkedin': { redirect: 'https://linkedin.com/in/mttdbl' },
'/github': { redirect: 'https://github.com/alex3025' },
'/reddit': { redirect: 'https://reddit.com/user/alex3025' },
'/soundcloud': { redirect: 'https://soundcloud.com/alex3025' },
'/spotify': { redirect: 'https://open.spotify.com/artist/4hlZWyCtkVh29vqbs34Naa' },
'/instagram': { redirect: 'https://instagram.com/mttdbl' }
}
});