Skip to content

@source resources/views #55

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

Merged
merged 1 commit into from
Feb 28, 2025
Merged

@source resources/views #55

merged 1 commit into from
Feb 28, 2025

Conversation

rrmesquita
Copy link
Contributor

As of now, the font-sans antialiased classes in the body tag are being ignored by Tailwind.

To recapitulate, Tailwind V4 (at least with Vite) reads content from 2 sources: 1) the modules processed by Vite; 2) the paths that were specified with the @source directive.

There's also the option to simply @apply those classes in app.css instead of the body tag, but sourcing the views seems a broader solution.

Copy link
Contributor

@tnylea tnylea left a comment

Choose a reason for hiding this comment

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

Good call!

This is on the installation instructions for Tailwind V4 as well. Appreciate it.

@tnylea tnylea added the Approved Approved for Merge label Feb 27, 2025
@taylorotwell taylorotwell merged commit f5a3196 into laravel:main Feb 28, 2025
2 checks passed
JoeyMckenzie pushed a commit to JoeyMckenzie/laravel-official-react-starter-kit that referenced this pull request Mar 2, 2025
lucianodigital2b pushed a commit to lucianodigital2b/clevernote that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Approved for Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants