Skip to content

feature:add alias config hint for Vite installation#10123

Open
Junbiao06 wants to merge 1 commit intoshadcn-ui:mainfrom
Junbiao06:feature/add-alias-config-hint
Open

feature:add alias config hint for Vite installation#10123
Junbiao06 wants to merge 1 commit intoshadcn-ui:mainfrom
Junbiao06:feature/add-alias-config-hint

Conversation

@Junbiao06
Copy link

What

Add a helpful message when no import alias in tsconfig.json for Vite projects, by add alias config hint for Vite installation.

Why

Many users encounter issues when initializing shadcn-ui with Vite due to missing path alias configuration. The current error message lead us to https://ui.shadcn.com/docs/installation/vite, where does not provide actionable guidance.

This change improves developer experience by providing clear instructions on how to configure the required alias.

Changes

  • Add clear instructions for configuring: tsconfig.json paths

Checklist

  • Code follows project structure
  • No breaking changes
  • Tested locally using pnpm shadcn

@vercel
Copy link
Contributor

vercel bot commented Mar 20, 2026

@Junbiao06 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant