Fix: Corregir clave de configuración de toasts para Nuxt UI v4
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m2s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m2s
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
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user