Overriding
Replacing shadcn-docs-nuxt components with custom vue components.
shadcn-docs-nuxt is a Nuxt Layer. You can override any component in shadcn-docs-nuxt by creating a custom vue component in your project with the same path as the original component. Make sure that your component contains the same props as the original component.
Here is a brief showcase of the components/
folder in shadcn-docs-nuxt.
Check out the complete file structure on GitHub
For example, if you want to override the Footer
component, create /components/layout/Footer.vue
in your project root.
/components/layout/Footer.vue