title: How to include JS file from npm package to separate page in Nuxt.js
body: <p>I have several <code>npm</code> packages with client-side scripts I want to include to separate pages of my Nuxt.js project. I have tried to do that with:</p>
  
  <pre><code>&lt;script&gt;
  export default {
    head: {
      script: [
        { src: "gojs/release/go.js", type: "text/javascript" }
      ]
    },
  
    // ...
  }
  &lt;/script&gt; 
  </code></pre>
  
  <p>but received <code>404 (Not Found)</code> error. What is correct way to do that?</p>