Overview
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
ShadcnDocsShadcnDocs, Nuxt, NuxtSeo or your custom component name. ogImageColor'light' | 'dark'
lightumamiobject
theme
customizableboolean
truecolorColor
zincradiusstring
0.5banner
Read more at API > Configuration > Banner
enableboolean
falseshowCloseboolean
truetostring
contentstring
targetTarget
_blankborderboolean
trueheader
showLoadingIndicatorboolean
truetitlestring
showTitleboolean
trueborderboolean
falsedarkModeToggleboolean
truelogo{ 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
falsenavINav[]
[]linksILink[]
[]aside
useLevelboolean
truecollapseboolean
falsecollapseLevelnumber
1Infinity if you want to expand all) folderStyle'default' | 'tree' | 'group'
defaultmain
paddedboolean
truebreadCrumbboolean
trueshowTitleboolean
truecodeCopyToastboolean
truecodeCopyToastTextstring
'Copied to clipboard!'fieldRequiredTextstring
'required'pm('npm' | 'pnpm' | 'bun' | 'yarn')[]
['npm', 'pnpm', 'bun', 'yarn']codeIconRecord<string, string>
editLinkobject
footer
creditsstring
''linksILink[]
[]toc
enableboolean
trueenableInMobileboolean
falsetitlestring
'On This Page'linksILink[]
[]carbonAdsobject
search
enableboolean
trueinAsideboolean
falsestyle'input' | 'button'
inputplaceholderstring
'Search...'placeholderDetailedstring
'Search documentation...'Default Config
Read more at source file