0

In my Laravel application, all the CSS and JQ libraries are working fine. working css

But as soon as I use routes with parameters it breaks CSS, JQ, and fontawesome. broken JQ

Then I managed to fix the CSS issue by using Assets URLs as below.

{{ asset('css/admin.min.css') }}

But Jquery is not working yet. How can I fix this issue?

Kavinda Prabhath
  • 323
  • 3
  • 12

2 Answers2

0

Add '/' before path like this: {{ asset('/css/admin.min.css') }}

Ranjeet
  • 539
  • 5
  • 12
0

Add '/' before 'href="assets/css/animate.css" to href="/assets/css/animate.css"