ProseFieldGroup
ProseFieldGroup (필드 그룹)
ProseFieldGroup 컴포넌트는 연관된 필드들을 하나로 묶어 포괄적인 API 문서를 만들 때 사용하는 컴포넌트예요. 여러 필드를 목록 형태로 그룹화해요.
출처: Nuxt UI
본문
사용법 (Usage)
목록에 필드들을 함께 묶으세요.
::field-group
::field{name="analytics" type="boolean"}
Defaults to `false`. Enables analytics for your project (coming soon).
::
::field{name="blob" type="boolean"}
Defaults to `false`. Enables blob storage to store static assets, such as images, videos and more.
::
::field{name="cache" type="boolean"}
Defaults to `false`. Enables cache storage to cache your server route responses or functions using Nitro's `cachedEventHandler` and `cachedFunction`.
::
::field{name="database" type="boolean"}
Defaults to `false`. Enables SQL database to store your application's data.
::
::
API
Props (속성)
/**
* Props for the ProseProseFieldGroup component
*/
interface ProseProseFieldGroupProps {
/**
* The element or component this component should render as.
* @default 'div'
*/
as?: any;
ui?: { base?: any; } | undefined;
}
Slots (슬롯)
/**
* Slots for the ProseFieldGroup component
*/
interface ProseFieldGroupSlots {
default(): any;
}
테마 (Theme)
export default defineAppConfig({
ui: {
prose: {}
}
})