Die ProseFieldGroup
Gruppieren Sie verwandte Felder, um eine umfassende API-Dokumentation zu erhalten.
Bearbeiten
Gruppieren Sie Felder in einer Liste.
analytics
boolean
Standardmäßig ist
false. Enables Analytics für Ihr Projekt (in Kürze verfügbar).blob
boolean
Standardmäßig
false. Ermöglicht Blob-Speicher, um statische Assets wie Bilder, Videos und mehr zu speichern.cache
boolean
Standardmäßig
false. Ermöglicht den Cache-Speicher, um die Antworten oder Funktionen Ihrer Serverroute mit Nitros cachedEventHandler und cachedFunction zwischenzuspeichern.database
boolean
Standardmäßig ist
false. Ermöglicht der SQL-Datenbank, die Daten Ihrer Anwendung zu speichern.::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 Bearbeiten
| Prop | Default | Type |
|---|---|---|
as | 'div' | anyThe element or component this component should render as. |
ui | { base?: any; } |
Slots Bearbeiten
| Slot | Type |
|---|---|
default | {} |
Theme Bearbeiten
app.config.ts
export default defineAppConfig({
ui: {
prose: {
fieldGroup: {
base: 'my-5 divide-y divide-default *:not-last:pb-5'
}
}
}
})vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ui from '@nuxt/ui/vite'
export default defineConfig({
plugins: [
vue(),
ui({
ui: {
prose: {
fieldGroup: {
base: 'my-5 divide-y divide-default *:not-last:pb-5'
}
}
}
})
]
})Changelog (englisch)
No recent changes