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

lifesound's avatar

Css / Js files does not show effect on the project although loaded ?

I thought the js / css files were loaded through the browser

@vite(['resources/css/app.css', 'resources/js/app.js'])
vite v4.4.10 building for production...
✓ 51 modules transformed.
public/build/manifest.json              0.26 kB │ gzip:  0.13 kB
public/build/assets/app-38606e.css    1.72 kB │ gzip:  0.68 kB
public/build/assets/app-fd2ac3.js   170.62 kB │ gzip: 56.96 kB
✓ built in 2.75s

but no effect on the page itself?

the 2 files were generated successfully and loaded successfully BUT the page loaded as it does not have css/js files

I have cleared the view and the cache

what could be the reason? I am in production and I have did npm run build ?

there is no hot file in public folder !!

no console errs

0 likes
7 replies
Tray2's avatar

Have you checked the dev tools in your browser?

To see where it's looking for the files.

lifesound's avatar

@Tray2 for your info i have an SSL error is it relating the PHP page is working but not the css/js

lifesound's avatar
lifesound
OP
Best Answer
Level 17

I found the issue tailwind/forms plugin not working thx for your try of helping

Please or to participate in this conversation.