title: How import a external js library in laravel?
body: <p>I've downloaded a base template from this <a href="https://github.com/puikinsh/gentelella" rel="noreferrer" title="github_repo">GitHub Repo</a> based on the following dashboard <a href="https://colorlib.com/polygon/gentelella/tables.html" rel="noreferrer">gentella</a>.</p>
  
  <p>I install the <a href="https://github.com/RobinHerbots/Inputmask" rel="noreferrer" title="inputmask">inputmask</a> library with the following command:</p>
  
  <pre><code>npm install inputmask --save
  </code></pre>
  
  <p>But reading and reading, I'm not sure which is the correct step to integrate the same into an HTML page, I read about <code>mix</code>, <code>saas</code>, <code>Compiling Assets (Laravel Mix)</code>.</p>
  
  <p>I try with this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="{{ URL::asset('js/inputmaskpath.js') }}"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>@section('scripts')
      {{ Html::script(mix('assets/js/inputmask.js')) }}
  @endsection
  </code></pre>
  
  <p><strong>The question finally is, how import <code>inputmask</code> into my HTML page and what it is the correct path?</strong></p>