Open
Description
Describe the bug
I have the following in my components.json
:
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/styles.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@udecode/cn",
"ui": "@/components/ui",
"lib": "@/utils",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
however, the sidebar component still imports cn from components:
import { cn } from "@/components/shadcn/utils"
when it should be:
import { cn } from "@udecode/cn";
like all the other components
Affected component/components
sidebar
How to reproduce
See above
Codesandbox/StackBlitz link
No response
Logs
System Info
N/A
Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues