feat(01-01): initialize Nuxt 4 project with all modules
- 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
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user