We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx shadcn@latest add sidebar doesn't work (points to 2.1.7)
npx shadcn@latest add sidebar
npx [email protected] add sidebar works as expected.
npx [email protected] add sidebar
Here are examples of my config
{ ... "aliases": { "components": "@org/package1/components", "utils": "@org/package1/lib/utils", "ui": "@org/package1/components/ui", "lib": "@org/package1/lib", "hooks": "@org/package1/hooks" }, }
{ "compilerOptions": { "paths": { "@org/package1/*": ["./src/*"], } }, "include": ["src"], "references": [] }
with 2.1.6 the components are created with these types of imports
import { cn } from "@org/package1/lib/utils"
with 2.1.7
import { cn } from "@org/lib/utils"
all
with the configs above you can
No response
macos 15.1.1 Tmux node 20
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
npx shadcn@latest add sidebar
doesn't work (points to 2.1.7)npx [email protected] add sidebar
works as expected.Here are examples of my config
with 2.1.6 the components are created with these types of imports
with 2.1.7
Affected component/components
all
How to reproduce
with the configs above you can
npx [email protected] add sidebar
and see how importing utils resolves tonpx [email protected] add sidebar
and see that's differentCodesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: