[Bug]: (Next) shadcn-vue@next add xxx
adds component to parent folder
#984
Labels
bug
Something isn't working
shadcn-vue@next add xxx
adds component to parent folder
#984
Reproduction
https://stackblitz.com/~/github.com/ZTL-UwU/starters (in the
/nuxt/shadcn-next/
folder)Describe the bug
In the next version of the CLI (#917), components are added to the parent folder.
Problem
"components": "@/components",
@
is resolved to../app
which should have been./app
.shadcn-vue/packages/cli/src/utils/get-project-info.ts
Lines 133 to 155 in 1804019
The CLI reads the tsconfig which is in
./.nuxt
.shadcn-vue@next add
shadcn-vue@next info
Also, this can't be solved with the old solution.
System Info
Contributes
The text was updated successfully, but these errors were encountered: