title: Uncaught ReferenceError: $ is not defined Laravel 5.6
body: <p>I've tried everything : </p>
  
  <pre><code>mix.autoload({
      jquery: ['$', 'window.jQuery', 'jQuery'],
  });
  </code></pre>
  
  <p>I've tried <code>jQuery(document).ready(function($){});</code></p>
  
  <p>I've tried even : </p>
  
  <pre><code>import $ from 'jquery';
  window.jQuery = $;
  window.$ = $;
  </code></pre>
  
  <p>But still get the same console error knowing that I'm using <strong>Laravel 5.6</strong> with <strong>Laravel Mix</strong></p>
  
  <p>Thank you helping</p>