Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dernier-carat's avatar

Tailwind / PostCSS error while using Breeze Vue

Hi!

I am trying to use Laravel Breeze with Vue. When opening the app on my browser, I get this error :

[plugin:vite:css] [postcss] Cannot create property '{absolute path to my project folder}/tailwind.config.js' on string '/var/folders/vd/1fjj0jnd559g7tmssh12j_t80000gn/T/node-jiti'
{absolute path to my project folder}/resources/css/app.css

The error goes away when I delete the postcss.config.js file but all the styles are gone. I guess I need this file. I checked my package.json and "type": "module" is already there.

Anyone encountered a similar error and found a way to fix it and still be able to use Postcss ?

0 likes
1 reply
dernier-carat's avatar

Nevermind, I deleted the project and created a new one, the error was gone. I installed a Jetstream project in the mean time, maybe it had an impact.

Please or to participate in this conversation.