-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
79 lines (79 loc) · 1.67 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
link: [
{ rel: 'shortcut icon', sizes: '16x16 24x24 32x32 48x48', href: '/favicon.ico' },
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }
],
script: [
{ hid: 'splitbee', src: 'https://cdn.splitbee.io/sb.js', defer: true, 'data-token': 'MT7CHWGFC9OO' }
]
},
},
modules: [
'@nuxtjs/tailwindcss',
'@nuxt/content',
'@nuxtjs/robots',
'@nuxtjs/i18n',
'@pinia/nuxt',
'@funken-studio/sitemap-nuxt-3'
],
css: [
'~/assets/main.css',
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
i18n: {
baseUrl: 'https://www.skutecznyplan.pl/',
defaultLocale: 'pl',
fallbackLocale: 'pl',
locales: [
{
code: 'pl',
iso: 'pl-PL',
file: 'pl-PL.json'
},
{
code: 'en',
iso: 'en-EN',
file: 'en-EN.json'
},
{
code: 'de',
iso: 'de-DE',
file: 'de-DE.json'
},
{
code: 'fr',
iso: 'fr-FR',
file: 'fr-FR.json'
},
{
code: 'it',
iso: 'it-IT',
file: 'it-IT.json'
}
],
langDir: 'locales/',
},
robots: {
UserAgent: '*',
Allow: '/',
Sitemap: 'https://www.skutecznyplan.pl/sitemap.xml'
},
sitemap: {
hostname: 'https://www.skutecznyplan.pl',
cacheTime: 1,
defaults: {
changefreq: 'monthly',
priority: 1,
lastmod: new Date().toISOString(),
},
},
})