roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
https://roots.io/sage/
MIT License
12.77k stars 3.06k forks source link

Unable to use @import on css files #3151

Closed ThomasPof closed 1 year ago

ThomasPof commented 1 year ago

Version

10.7.0

What did you expect to happen?

I expect to be able to import other .css files in app.css or editor.css

What actually happens?

Nothing is imported. No error in yarn console

Steps to reproduce

Nothing in imported

System info

No response

Log output

No response

Please confirm this isn't a support request.

No

retlehs commented 1 year ago
  1. Create styles/example.css
  2. Edit app.css:
@import "example.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

Confirmed this is working ✅

Head on over to https://discourse.roots.io/ if you need further support