ProseFieldGroup

GitHub
Groepeer gerelateerde velden samen voor uitgebreide API-documentatie.

Gebruik

Groepeer velden samen in een lijst.

analytics
boolean
Standaard false. Maakt analyse voor uw project mogelijk (binnenkort beschikbaar).
blob
boolean
Standaard false. Hiermee kan blob-opslag statische items opslaan, zoals afbeeldingen, video 's en meer.
cache
boolean
Standaard ingesteld op false. Hiermee kan cache-opslag de reacties of functies van uw serverroute cachen met Nitro 's cachedEventHandler en cachedFunction.
database
boolean
Standaard false. Hiermee kan SQL-database de gegevens van uw applicatie opslaan.
::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

Prop Default Type
as
'div'
any

The element or component this component should render as.

ui
{ base?: any; }

Slots

Slot Type
default
{}

Thema

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'
          }
        }
      }
    })
  ]
})

Wijzigingsgelog

No recent changes