Skip to content
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

Support tailwind.config.ts #1247

Merged
merged 5 commits into from
Oct 19, 2023

Conversation

lukahartwig
Copy link
Contributor

Fixes #659
Fixes #633

Create Next App is using tailwind.config.ts in the TypeScript template. Since this is a very common use case it would be nice to preserve the type safety of the file.

I added new templates for TypeScript files. I see there is an issue #1073 which asks for ESM support as well. This is not included in this PR.

I also fixed the type error in the keyframes that is also handled in #636

@vercel
Copy link

vercel bot commented Aug 15, 2023

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

A member of the Team first needs to authorize it.

Copy link

@m1nsuplee m1nsuplee left a comment

Choose a reason for hiding this comment

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

👍

I hope for this PR to be merged.

@JohnC0de
Copy link

No updates on this yet?

Copy link
Collaborator

@shadcn shadcn left a comment

Choose a reason for hiding this comment

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

Love it. Thank you!

@shadcn shadcn added enhancement New feature or request area: cli labels Oct 19, 2023
@vercel
Copy link

vercel bot commented Oct 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ui ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 5:36pm

@shadcn
Copy link
Collaborator

shadcn commented Oct 19, 2023

We need a changeset here. I'll add one.

@kodiakhq kodiakhq bot merged commit 4ec8a67 into shadcn-ui:main Oct 19, 2023
7 checks passed
@lukahartwig lukahartwig deleted the support-tailwind-config-ts branch October 19, 2023 18:09
kjxbyz pushed a commit to muse-ui/muse-ui that referenced this pull request Jun 7, 2024
Fixes shadcn-ui#659
Fixes shadcn-ui#633

Create Next App is using `tailwind.config.ts` in the TypeScript template. Since this is a very common use case it would be nice to preserve the type safety of the file.

I added new templates for TypeScript files. I see there is an issue shadcn-ui#1073 which asks for ESM support as well. This is not included in this PR.

I also fixed the type error in the keyframes that is also handled in shadcn-ui#636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants