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: add proper command to create tailwind.config.js for pnpm #910

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

derecklhw
Copy link
Contributor

@derecklhw derecklhw commented Oct 22, 2024 β€’

πŸ”— Linked issue

Resolves #911

❓ 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

With pnpm as package manager, the command pnpm dlx tailwindcss init will create a tailwind.config.js, solving the user frustration with err sh: 1: tailwind: not found

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

netlify bot commented Oct 22, 2024

πŸ‘· Deploy request for nuxt-tailwindcss pending review.

Visit the deploys page to approve it

Name Link
πŸ”¨ Latest commit 266bc8e

Copy link

what-the-diff bot commented Oct 22, 2024

PR Summary

  • Improved code formatting
    An unnecessary empty line was removed to keep the code clean and easy to read.

  • Enhanced code block organization
    The code block section was updated to use ::code-group feature. This makes grouping related code blocks together easier and more organized.

  • Introduced a special code block for specific task
    A new code block was added, specifically written for pnpm, intending to initiate the Tailwind CSS configuration. This will allow developers using pnpm to easily set up Tailwind CSS.

  • Enhanced readability of command sections
    Formatting of bash command sections was changed to help users differentiate between npm/yarn and pnpm usage. This makes it more straightforward for individuals to understand which command to use based on their preferred package manager. This minor adjustment will improve the usability of these sections for developers.

@derecklhw derecklhw changed the title Docs: Add command to create tailwind.config.js for pnpm Docs: add proper command to create tailwind.config.js for pnpm Oct 22, 2024
@derecklhw derecklhw changed the title Docs: add proper command to create tailwind.config.js for pnpm docs: add proper command to create tailwind.config.js for pnpm Oct 22, 2024
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.

Thank you! ❀️

@ineshbose ineshbose merged commit cad23ac into nuxt-modules:main Oct 28, 2024
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.

Getting err sh: 1: tailwind: not found when trying to create the tailwind.config.js
2 participants