Este componente implementa o ConfigProvider do Reka UI para fornecer configuração global a todos os componentes:
Ele também usa o ToastProvider e o TooltipProvider para fornecer toasts e tooltips globais, além de modais e slideovers programáticos.
Envolva toda a sua aplicação com o componente App no seu arquivo app.vue:
<template>
<NApp>
<NuxtPage />
</NApp>
</template>
locale para alterar o locale do seu app. Isso também controla o formato de data/hora em componentes como Calendar, InputDate e InputTime.locale para alterar o locale do seu app. Isso também controla o formato de data/hora em componentes como Calendar, InputDate e InputTime.| Prop | Default | Type |
|---|---|---|
tooltip | TooltipProviderProps | |
toaster | null | ToasterProps | |
locale | Locale<T> | |
portal | 'body' | string | false | true | HTMLElement |
dir | 'ltr' | "ltr" | "rtl"The global reading direction of your application. This will be inherited by all primitives. |
scrollBody | boolean | ScrollBodyOption The global scroll body behavior of your application. This will be inherited by the related primitives. | |
nonce | stringThe global | |
teleportTo | string | HTMLElementThe global default teleport target for all portalled primitives (e.g. |
| Slot | Type |
|---|---|
default | {} |