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: mention tailwindcss-cli if tailwindcss init fails #946

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

devbyray
Copy link
Contributor

Updated the init commands because the other one doesn't work. Found this solution here: https://www.devgem.io/posts/why-npx-tailwindcss-init-fails-and-how-to-fix-it

🔗 Linked issue

Not that I could find.

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

I have updated the documentation for the init command. The current one online doesn't work, so I found a solution on https://www.devgem.io/posts/why-npx-tailwindcss-init-fails-and-how-to-fix-it

So I thought let's update this for everyone 👍

If my title is not correct, or if I need to change something, please let me know 😉

Updated the init commands because the other one doesn't work. Found this solution here: https://www.devgem.io/posts/why-npx-tailwindcss-init-fails-and-how-to-fix-it
Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for nuxt-tailwindcss failed. Why did it fail? →

Name Link
🔨 Latest commit a682d1f
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-tailwindcss/deploys/679357505de7860008e660e9

Copy link

what-the-diff bot commented Jan 24, 2025

PR Summary

  • Update of Installation Instructions
    The commands previously listed in our installation instructions have been updated to reference the latest version of the Tailwind CSS Command Line Interface (CLI) for Node Package Manager (npm), yarn, and pnpm. This update ensures that users will initialize the newest version of the program during setup. Please see the specific changes below:
    • Instead of using npx tailwindcss init, we now recommend npx tailwindcss-cli@latest init.
    • Instead of using yarn tailwindcss init, we now recommend yarn tailwindcss-cli@latest init.
    • Instead of using pnpm dlx tailwindcss init, we now recommend pnpm dlx tailwindcss-cli@latest init.

@ineshbose ineshbose changed the title Update 1.installation.md docs: mention tailwindcss-cli if tailwindcss init fails Jan 24, 2025
Copy link
Collaborator

@ineshbose ineshbose left a comment

Choose a reason for hiding this comment

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

Looks good - thank you!

@ineshbose ineshbose merged commit 18f416e into nuxt-modules:main Jan 24, 2025
3 checks passed
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