I have a Laravel 11 Project using Laravel ui bootstrap --auth. Everything works fine so far except the auth page. The CSS style is not implemented in production, I'm using vercel to deploy my project.
In given views/layouts/app.blade.php file, there is a script:
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
In production it became:
<link rel="preload" as="style" href="http://ecowise-pi.vercel.app/build/assets/app-BaVMVknW.css" />
<link rel="modulepreload" href="http://ecowise-pi.vercel.app/build/assets/app-DCF3fk7r.js" />
<link rel="stylesheet" href="http://ecowise-pi.vercel.app/build/assets/app-BaVMVknW.css" />
<script type="module" src="http://ecowise-pi.vercel.app/build/assets/app-DCF3fk7r.js"></script>
All these links work fine. You can click them and it will show the CSS script, but somehow they are not implemented.
You can check the detail in my github repository: github(.)com/hendratanjaya/ecowisse-group-project-laravel
Or check the live website on : ecowise-pi.vercel.app
sorry, i cant give you a proper link since this is my first day on the platform.
I'm super new to Laravel btw, so any help will be appreciated.