9fbbce07e0
- nuxt.config.ts with compatibilityVersion 4, SSR, 6 modules - app/app.vue and app/pages/index.vue minimal setup - pnpm as package manager with all dependencies installed - TypeScript strict mode enabled - .gitignore updated for Nuxt (.nuxt, .output, .env) - tsconfig.json extends .nuxt/tsconfig.json
26 lines
388 B
TypeScript
26 lines
388 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'
|
|
},
|
|
gtag: {
|
|
id: 'G-CDVVNFY6MV',
|
|
enabled: false
|
|
}
|
|
})
|