Did you compile your assets by running npm run dev?
Oct 22, 2021
11
Level 1
Do you know why mix('css/app.css') doesn't work?
I'm using tailwindcss and in the welcome.blade.php using this:
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
The tailwindcss is not working.
However with the asset helper function it works:
<link rel="stylesheet" href="{{asset('css/app.css') }}">
In the source code with the mix() shows:
404 Not FoundNot Found
The requested URL /css/app.css was not found on this server.
Do you know why with the mix helper does not work? Thanks!
Please or to participate in this conversation.