mobisoft.ir@gmail.com's avatar

serve wrong app.css

HI. i am using filament and jetstream in my project. jetstream login page could not load style properly. actually when i ctrl+f5 load the page every thing is good but when refresh it normally wrong app.css is loaded.

i've tried localhost/css/app.css when it is hard refresh tailwind css would load (the acual file in public/css/app.css loads correctly) but when i refresh the url normaly another app.css is loaded (bootsrap is loading).

note: i've run npm install && npm run dev

0 likes
3 replies
Tjyoung's avatar

Are you loading css like this?

   <link rel="stylesheet" href="{{ mix('css/app.css') }}">
Snapey's avatar

You have a path to the css file in your code. There can only be one file at that location....

Please or to participate in this conversation.