title: How can I set jquery cdn in global?
body: <p>I put jquery cdn in </p>
  
  <blockquote>
    <p>C:\xampp\htdocs\mysystem\resources\views\layouts\app.blade.php</p>
  </blockquote>
  
  <p>like this :</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      ...
      @yield('css')
  &lt;/head&gt;
  &lt;body class="skin-blue sidebar-mini"&gt;
      ...
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;&lt;/script&gt;
      ...
      @yield('scripts')
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So it can used from anywhere</p>
  
  <p>But when executed this :</p>
  
  <blockquote>
    <p>C:\xampp\htdocs\mysystem\resources\views\users\index.blade.php</p>
  </blockquote>
  
  <p>The code like this :</p>
  
  <pre><code>@extends('layouts.app')
  @section('content')
      &lt;section class="content-header"&gt;
          ...
      &lt;/section&gt;
      &lt;div class="content"&gt;
          ...
      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
          $(function() {
             ...
          });
      &lt;/script&gt;
  @endsection
  </code></pre>
  
  <p>There exist error :</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: $ is not defined</p>
  </blockquote>
  
  <p>Why there exist error? Whereas I had add jquery cdn in app.blade</p>