Skip to content

Conversation

Tribalschief
Copy link

The previous React Router installation guide was missing crucial steps for configuring path aliases (@/*). This led to module resolution errors for users trying to follow the documentation, causing their applications to crash.

This PR updates the guide to include the necessary configuration steps for both tsconfig.json and vite.config.ts. This ensures that path aliases will work correctly for new users, providing a complete and error-free setup experience.

The previous React Router installation guide was missing crucial steps for configuring path aliases (`@/*`). This led to module resolution errors for users trying to follow the documentation, causing their applications to crash.

This PR updates the guide to include the necessary configuration steps for both `tsconfig.json` and `vite.config.ts`. This ensures that path aliases will work correctly for new users, providing a complete and error-free setup experience.
Copy link

vercel bot commented Oct 14, 2025

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

A member of the Team first needs to authorize it.

Run the CLI

Run the `shadcn` init command to setup your project:
Run the shadcn-ui init command to setup your project. This will install dependencies, configure tailwind.config.js, and set up CSS variables.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CLI is shadcn not shadcn-ui

@shadcn
Copy link
Collaborator

shadcn commented Oct 15, 2025

Actually I just went through the react-router docs again and it worked perfectly. Not sure why we need the change here.

JBk9ywZ5

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.

2 participants