How to use in existing project
Closed this issue · 2 comments
peoray commented
Thanks for this template ;)
The guide does not show how to use it in an existing project. Is it possible to do so?
ZTL-UwU commented
Technically it is possible. You can:
- Install
shadcn-docs-nuxt
- Add
extends: ['shadcn-docs-nuxt']
in yournuxt.config
- Copy
assets/
,app.config.ts
, andtailwind.config.ts
from the starter template into your project root directory.
However, shadcn-docs-nuxt
contains index.vue
and [...slug].vue
in pages/
as a nuxt layer, so I'm not sure if it works in existing projects.
ZTL-UwU commented
Closing this as using shadcn-docs-nuxt with existing project is not the recommended use case.