title: How to add external js file in Nuxt?
body: <p>I have js file called script.js in assets/js. Tried to include in nuxt.config.js like below:</p>
  
  <pre><code>head: {
      title: pkg.name,
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { hid: 'description', name: 'description', content: pkg.description }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
      ],
        script: [
            { src: '/assets/js/script.js', ssr: false }
        ]
    }
  </code></pre>
  
  <p>But getting 'GET <a href="http://127.0.0.1:3000/assets/js/script.js" rel="noreferrer">http://127.0.0.1:3000/assets/js/script.js</a> 404 (OK)'.</p>