ProseCardGroup (프로세카드그룹)
더 나은 콘텐츠 표현을 위해 반응형 그리드 레이아웃에 여러 카드를 구성합니다.
Usage
card 구성 요소를 card-group 구성 요소로 래핑하여 그리드 레이아웃에서 함께 그룹화합니다.
::card-group
::card
---
title: Dashboard
icon: i-simple-icons-github
to: https://github.com/nuxt-ui-templates/dashboard
target: _blank
---
A dashboard with multi-column layout.
::
::card
---
title: SaaS
icon: i-simple-icons-github
to: https://github.com/nuxt-ui-templates/saas
target: _blank
---
A template with landing, pricing, docs and blog.
::
::card
---
title: Docs
icon: i-simple-icons-github
to: https://github.com/nuxt-ui-templates/docs
target: _blank
---
A documentation with `@nuxt/content`.
::
::card
---
title: Landing
icon: i-simple-icons-github
to: https://github.com/nuxt-ui-templates/landing
target: _blank
---
A landing page you can use as starting point.
::
::
API 사용
Props 코드
| Prop | Default | Type |
|---|---|---|
ui | { base?: any; } |
Slots
| Slot | Type |
|---|---|
default | {} |
Theme 테마
app.config.ts
export default defineAppConfig({
ui: {
prose: {
cardGroup: {
base: 'grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0'
}
}
}
})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: {
cardGroup: {
base: 'grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0'
}
}
}
})
]
})변경 로그
No recent changes