0

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.sstatic.net/zYbcW.png

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented May 1, 2022 at 10:23

2 Answers 2

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') }}">
Sign up to request clarification or add additional context in comments.

Comments

0

We don't write public in laravel

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.