Description
My shad components install in ./app/components/ui. When I install ai-elements, they are placed in ./components/ai-elements, rather than .app/components/ai-elements.
I've tried using both install methods.
This is my components.json (~ resolves to ./app):
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "app/app.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "~/components",
"utils": "~/lib/utils",
"ui": "~/components/ui",
"lib": "~/lib",
"hooks": "~/hooks"
},
"iconLibrary": "lucide"
}
AI SDK Version
- "ai": "^5.0.15",
- "@ai-sdk/openai": "^2.0.15",
- "@ai-sdk/react": "^2.0.15",
Code of Conduct
Description
My shad components install in
./app/components/ui. When I install ai-elements, they are placed in./components/ai-elements, rather than.app/components/ai-elements.I've tried using both install methods.
This is my components.json (~ resolves to ./app):
AI SDK Version
Code of Conduct