Skip to content

docs: highlight Angular's ng add setup path#2470

Open
abhijeetnardele24-hash wants to merge 1 commit intotailwindlabs:mainfrom
abhijeetnardele24-hash:docs/highlight-ng-add-angular
Open

docs: highlight Angular's ng add setup path#2470
abhijeetnardele24-hash wants to merge 1 commit intotailwindlabs:mainfrom
abhijeetnardele24-hash:docs/highlight-ng-add-angular

Conversation

@abhijeetnardele24-hash
Copy link
Copy Markdown

Summary

  • lead the Angular installation guide with Angular CLI's
    g add tailwindcss flow
  • keep the existing manual setup as the fallback path
  • remove the outdated --force install command from the manual instructions

Closes #2452.

Testing

  • not run (docs-only change; dependencies are not installed in this local clone)

Copilot AI review requested due to automatic review settings April 5, 2026 15:18
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

@abhijeetnardele24-hash is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Angular installation guide to recommend Angular CLI’s ng add tailwindcss automated setup as the primary path, while preserving a manual setup path as fallback.

Changes:

  • Adds a new “Install Tailwind CSS automatically” step using ng add tailwindcss.
  • Renames the existing install step to “Install Tailwind CSS manually” and adjusts its wording.
  • Removes the --force flag from the manual npm install command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +39 to +42
If you're using a recent version of Angular, the easiest way to add Tailwind CSS is with{" "}
<code>ng add tailwindcss</code>. This installs Tailwind and updates your project configuration for you. If
you're using an older version of Angular or prefer to set things up yourself, skip this step and follow the
manual steps below instead.
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

This guide now shows both the ng add tailwindcss flow and the manual setup flow as sequential steps. As written, a reader who runs ng add tailwindcss may still continue into the manual install/configuration steps, which is confusing and may lead to redundant or conflicting setup. Consider explicitly telling users what to do next after ng add (for example, jump directly to the build step), and/or add skip notes on the subsequent manual steps indicating they only apply if you did not run ng add.

Copilot uses AI. Check for mistakes.
Comment on lines +39 to +41
If you're using a recent version of Angular, the easiest way to add Tailwind CSS is with{" "}
<code>ng add tailwindcss</code>. This installs Tailwind and updates your project configuration for you. If
you're using an older version of Angular or prefer to set things up yourself, skip this step and follow the
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

Typography is inconsistent with the rest of the framework guides: this paragraph uses straight apostrophes ("you're") while the surrounding copy uses curly apostrophes (e.g., "don’t"). Update to use the same typographic apostrophe style for consistency.

Suggested change
If you're using a recent version of Angular, the easiest way to add Tailwind CSS is with{" "}
<code>ng add tailwindcss</code>. This installs Tailwind and updates your project configuration for you. If
you're using an older version of Angular or prefer to set things up yourself, skip this step and follow the
If youre using a recent version of Angular, the easiest way to add Tailwind CSS is with{" "}
<code>ng add tailwindcss</code>. This installs Tailwind and updates your project configuration for you. If
youre using an older version of Angular or prefer to set things up yourself, skip this step and follow the

Copilot uses AI. Check for mistakes.
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.

Highlight ng add tailwindcss

2 participants