shadcn-docs
Customizing shadcn-docs-nuxt.
shadcn-docs-nuxt is configured through app.config.ts
.
app.config.ts
Fields Reference
Illustrative type declarations:
Icons
All configurable icons can be set to iconify icons, emojis and urls, using smart icon under the hood.
site
namestring
<page> - <site_name>
. descriptionstring
ogImagestring
ogImageComponentstring
ShadcnDocs
ShadcnDocs
, Nuxt
, NuxtSeo
or your custom component name. theme
customizableboolean
true
colorColor
zinc
radiusstring
0.5
header
showLoadingIndicatorboolean
true
titlestring
showTitleboolean
true
borderboolean
false
darkModeToggleboolean
true
logo{ light: string; dark: string; }
{ light: '/logo.svg', dark: '/logo-dark.svg' }
/public
. light
is for the icon shown in light mode, dark
is for the icon shown in dark mode. showTitleInMobileboolean
false
navINav[]
[]
linksILink[]
[]
aside
useLevelboolean
true
collapseboolean
false
main
paddedboolean
true
breadCrumbboolean
true
showTitleboolean
true
codeCopyToastboolean
true
codeCopyToastTextstring
'Copied to clipboard!
fieldRequiredTextstring
'required'
codeIconRecord<string, string>
footer
creditsstring
''
linksILink[]
[]
toc
enableboolean
true
enableInMobileboolean
false
titlestring
'On This Page'
linksILink[]
[]
search
enableboolean
true
inAsideboolean
false
style'input' | 'button'
input
placeholderstring
'Search...'
placeholderDetailedstring
'Search documentation...'
Default Config
composables/useConfig.ts