-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
46 lines (46 loc) · 1014 Bytes
/
nuxt.config.ts
File metadata and controls
46 lines (46 loc) · 1014 Bytes
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({
app: {
head: {
title: 'Code for IATI Codelists',
htmlAttrs: {
lang: 'en',
},
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
]
}
},
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: [
'@nuxt/content',
'@bootstrap-vue-next/nuxt',
'@nuxtjs/i18n',
'@pinia/nuxt',
'nuxt-github-pages'
],
css: ['bootstrap/dist/css/bootstrap.min.css'],
i18n: {
locales: [
{ code: 'en', language: 'en-GB', name: 'English', file: 'en.json' },
{ code: 'fr', language: 'fr-FR', name: 'Français', file: 'fr.json' }
],
defaultLocale: 'en',
strategy: 'prefix_except_default',
defaultLocale: 'en'
},
components: {
global: true,
dirs: ['~/components']
},
content: {
build: {
pathMeta: {
slugifyOptions: {
lower: false
}
}
}
}
})