33 lines
493 B
TypeScript
33 lines
493 B
TypeScript
export default defineNuxtConfig({
|
|
future: {
|
|
compatibilityVersion: 4
|
|
},
|
|
ssr: true,
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'@nuxtjs/i18n',
|
|
'@nuxt/eslint',
|
|
'@nuxtjs/sitemap',
|
|
'nuxt-gtag',
|
|
'@nuxt/image'
|
|
],
|
|
typescript: {
|
|
strict: true
|
|
},
|
|
i18n: {
|
|
locales: ['fr', 'en'],
|
|
defaultLocale: 'fr'
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
gtag: {
|
|
id: '',
|
|
},
|
|
},
|
|
},
|
|
gtag: {
|
|
id: '',
|
|
enabled: process.env.NODE_ENV === 'production',
|
|
}
|
|
})
|