'CSS and JS files is not loading in Laravel

My application is on the server, and I have tried all the solutions. But my Laravel app is still not loading CSS and JS files in main.blade.php when my CSS files are in public/assets_setup/css/style.css.` I even made file changes, but page changes are not showing in inspect, and it's the same.

Below is my main.blade.php file which all links are included.

https://i.stack.imgur.com/zYbcW.png



Solution 1:[1]

Try this code

<link rel="stylesheet" type="text/css" href="/assets_setup/css/style.css">

or

<link rel="stylesheet" type="text/css" href="{{ asset('/assets_setup/css/style.css') }}">

Solution 2:[2]

We don't write public in laravel

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 sina khaghani
Solution 2 Alya Al Siyabi