fix(config) : disable pathPrefix for component auto-imports

This commit is contained in:
2026-03-08 17:46:21 +01:00
parent 84970a352d
commit cda872a057
6 changed files with 14 additions and 9 deletions

View File

@@ -18,6 +18,11 @@ const appVersion = process.env.NUXT_PUBLIC_APP_VERSION || getAppVersion()
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
components: {
dirs: [
{ path: '~/components', pathPrefix: false },
],
},
ssr: false, // Désactive le SSR pour un mode SPA pur (Client-Side Rendering uniquement)
devtools: { enabled: true },
devServer: {