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

feat(cli): add min-config support for Next.js #2454

Merged
merged 3 commits into from
Jan 16, 2024
Merged

feat(cli): add min-config support for Next.js #2454

merged 3 commits into from
Jan 16, 2024

Conversation

shadcn
Copy link
Collaborator

@shadcn shadcn commented Jan 16, 2024

This PR adds min-config support for Next.js projects (more frameworks coming soon).

  • Running npx [email protected] init now automatically detects paths for your tailwind.config.js, main globals.css file and your custom path aliases.
  • You're only prompted for style, baseColor and cssVariables.
  • Running npx [email protected] init -d runs with default values (basically zero-config support)

Copy link

vercel bot commented Jan 16, 2024

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 Jan 16, 2024 5:38pm

Copy link
Contributor

github-actions bot commented Jan 16, 2024

A new prerelease is available for testing:

@shadcn shadcn merged commit 0374ba8 into main Jan 16, 2024
8 checks passed
@shadcn shadcn deleted the feat/cli-auto branch January 16, 2024 18:05
kjxbyz pushed a commit to muse-ui/muse-ui that referenced this pull request Jun 7, 2024
* feat(cli): add zero-config support for Next.js

* chore: add changeset

* feat(cli): add preflight
artabr pushed a commit to artabr/shadcn-ui that referenced this pull request Dec 15, 2024
* feat(cli): add zero-config support for Next.js

* chore: add changeset

* feat(cli): add preflight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: cli enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant