schon/storefront/app/app.config.ts
Alexandr SaVBaD Waltz 8d7685ef67 feat(notification): integrate global notification plugin using ElNotification
Added a global `notify` method via Nuxt plugin to replace `useNotification`. Improved messaging structure by embedding progress bars and handled dynamic durations. Updated usage across composables and components for consistency.

- Replaced `useNotification` with `$notify` in all applicable files.
- Updated `app.config.ts` to support customizable notification positions.
- Refactored affected composables for simplified notification calls.
- Enhanced progress indicator display within notifications.

Breaking Changes:
`useNotification` is removed, requiring migration to the new `$notify` API.
2026-03-01 15:30:47 +03:00

14 lines
283 B
TypeScript

import { SUPPORTED_LOCALES } from '@appConstants';
export default defineAppConfig({
i18n: {
supportedLocales: SUPPORTED_LOCALES,
},
ui: {
showBreadcrumbs: true,
showSearchBar: true,
isHeaderFixed: true,
isAuthModals: false,
notificationPosition: 'top-right',
},
});