From 9dc1c88c6ac9dfb4a340bfbd81fbc2a82cb29c22 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sat, 18 Oct 2025 02:37:38 -0600 Subject: [PATCH] =?UTF-8?q?Fix:=20Corregir=20clave=20de=20configuraci?= =?UTF-8?q?=C3=B3n=20de=20toasts=20para=20Nuxt=20UI=20v4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PROBLEMA ENCONTRADO: Los toasts seguían con estilo por defecto CAUSA RAÍZ: - En Nuxt UI v4 la clave de configuración es 'toast' no 'notification' - Estaba usando 'notification:' en app.config.ts - Por eso los estilos personalizados nunca se aplicaban SOLUCIÓN: - Cambiar 'notification:' por 'toast:' en app.config.ts - Ahora las clases CSS personalizadas sí se aplicarán - Los toasts usarán el estilo outline/terminal del sistema --- nuxt4/app.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt4/app.config.ts b/nuxt4/app.config.ts index e149d6d..f000e61 100644 --- a/nuxt4/app.config.ts +++ b/nuxt4/app.config.ts @@ -162,8 +162,8 @@ export default defineAppConfig({ }, }, - // Notifications (Toast): Usar clases personalizadas definidas en main.css - notification: { + // Toasts: Usar clases personalizadas definidas en main.css + toast: { slots: { root: 'cata-toast-root', wrapper: 'cata-toast-wrapper',