Skip to content

chore(templates): update vercel-website template for shadcn/ui compatibility #13561

New issue

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Uzayer
Copy link

@Uzayer Uzayer commented Aug 22, 2025

What?

This PR updates the vercel-website template configuration to be compatible with the latest shadcn/ui tooling requirements.

Why?

The latest version of shadcn/ui requires specific configuration formats that the current template doesn't support, causing pnpm dlx shadcn@latest add [component] commands to fail.

How?

  • Updated components.json to reference tailwind.config.mjs instead of tailwind.config.js
  • Converted typography configuration from function format typography: () => ({...}) to object format typography: {...} in tailwind.config.mjs

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