title: How to include a (compiled) JS file in NuxtJS
body: <p>I’ve a NuxtJS app and want to include a file called <code>app.js</code> (located in <code>assets/js/app.js</code>).</p>
  <p>Contents of that file:</p>
  <pre><code>// imports from node_modules
  import 'focus-visible';
  import 'other-package';
  …
  </code></pre>
  <p>What I am doing at the moment is to <code>import</code> that packages inside <code>layouts/default.vue</code> … but it doesn’t feel right.</p>
  <p>How would you do it?</p>