Closed ap1969 closed 3 months ago
I rolled back to the prior version I had working, 3.5.7, and I can now rebuild tailwind again. That was the only thing I rolled back.
Honestly, not sure aspect-video certainly exists in tailwind. https://tailwindcss.com/docs/aspect-ratio#setting-the-aspect-ratio
Maybe because you're including the tailwind aspect-ratio plugin and it's part of core now. Has been for a while.
A lot of this config doesn't make sense to me, for example why is colors registered as a plugin and why is the preset imported from tailwind instead of filament.?
Hmm. I wonder if I've collared stuff from various sources half of which is out of date and half is Chatgpt...
I'll re-visit the config and try again.
Thanks Adam
The colors plugin was a carry-over from an older version of tailwind, so I've removed that.
In terms of preset, that's imported from filament, following instructions here https://filamentphp.com/docs/3.x/actions/installation
And I got it sorted eventually. Again, I'd mixed up legacy config with new. I hate upgrades!
Appreciate your help again Adam.
Filament Version
v3.2.92
Plugin Version
v3.6.2
PHP Version
PHP 8.2.14
Problem description
Hi Adam,
I've just updated my app, and I'm getting the following error:
[vite:css] [postcss] /path/to/app/vendor/awcodes/filament-curator/resources/css/plugin.css:72:17: The
aspect-video
class does not exist. Ifaspect-video
is a custom class, make sure it is defined within a@layer
directive.Tailwind config:
Package.json
Any idea? I've read around and can't find anything that's helped.
Regards, Andy
Expected behavior
Expected tailwind compilation to happen normally.
Steps to reproduce
npm run build
which just runs 'vite'
Reproduction repository
No response
Relevant log output
No response