WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
12.77k
stars
3.06k
forks
source link
fix: update default app.css tailwind syntax to use @tailwind (#3149) #3150
Closed
talss89 closed 1 year ago
Minor change to switch from older
@import 'tailwindcss/...
syntax to@tailwind
as recommended in Tailwind docs.This encourages users to avoid a possible cache invalidation issue.
See: https://tailwindcss.com/docs/installation#:~:text=Add%20the%20Tailwind,main%20CSS%20file. See: https://github.com/roots/bud/issues/2455
The cache invalidation logic for
@tailwind
was introduced in Tailwind 3.0.24. Sage's app.css was written originally for Tailwind 2.0.2 on Sage 10.0.0-beta.1