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

docs: fix container-queries installation command in README #31

Closed
wants to merge 1 commit into from

Conversation

sko-kr
Copy link

@sko-kr sko-kr commented Nov 14, 2024

Updates the README to include the -D flag when installing @tailwindcss/container-queries package, making it consistent with Tailwind's recommended installation practice for plugins as dev dependencies.

Before:
npm install @tailwindcss/container-queries

After:
npm install -D @tailwindcss/container-queries

The -D flag ensures the package is saved as a dev dependency, which is the recommended installation method for Tailwind plugins.
@RobinMalfait RobinMalfait self-assigned this Feb 5, 2025
@RobinMalfait
Copy link
Member

Hey!

It doesn't really matter where you install the dependencies because they won't show up in your final artifact once Tailwind built a .css file.

Now that Tailwind CSS v4, you don't need this plugin anymore.
We also upgraded the documentation for Tailwind CSS v4, and right now we don't show the -D flag in these docs either (https://tailwindcss.com/docs/installation/using-vite)

I appreciate the PR, but going to close this for now. Thanks again!

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