title: return view() doesn't load css and js
body: <p>So I have a view that the css and js is not loading:</p>
  <p>The controller:</p>
  <pre><code> return view('home.news')
                  -&gt;with(&quot;news&quot;, $news);
  </code></pre>
  <p>the route:</p>
  <pre><code>Route::get('/news/{id}', ['as'=&gt;'home.news','uses'=&gt;'HomeController@news']);
  </code></pre>
  <p>And I have used asset to get the data from css and js</p>
  <p>css:</p>
  <pre><code>&lt;link rel='icon' sizes=&quot;16x16&quot; href=&quot;icon/favicon-icon.png&quot; type='image/x-icon'&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('node_modules/bulma/css/bulma.min.css')}}&quot; type=&quot;text/css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('node_modules/swiper/css/swiper.min.css')}}&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('node_modules/@fortawesome/fontawesome-free/css/all.min.css')}}&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('styles/packages.css')}}&quot; type=&quot; text/css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('styles/general.css')}}&quot; type=&quot; text/css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;{{asset('styles/jquery-ui.css')}}&quot; type=&quot; text/css&quot;&gt;
  &lt;link href=&quot;https://unpkg.com/aos@2.3.1/dist/aos.css&quot; rel=&quot;stylesheet&quot;&gt;
  @yield(&quot;css&quot;)
  
  </code></pre>
  <p>js:</p>
  <pre><code>&lt;script src=&quot;{{asset('node_modules/swiper/js/swiper.min.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;{{asset('js/swipers.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;{{asset('js/navbar.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;{{asset('js/jquery.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;{{asset('js/jquery-ui.js')}}&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://unpkg.com/aos@2.3.1/dist/aos.js&quot;&gt;&lt;/script&gt;
  
  &lt;script type=&quot;text/javascript&quot;&gt;
    AOS.init();
  &lt;/script&gt;
  </code></pre>
  <p>Any help would be appreciated, Thank you!</p>