title: Easily add script tags to nuxtjs
body: <p>Basically I need to add the script to the head of my index.html,</p>
  
  <pre><code>&lt;script type="text/javascript" src="https://a.optmnstr.com/app/js/api.min.js" data-account="XXXXX" data-user="XXXXX" async&gt;&lt;/script&gt;
  </code></pre>
  
  <p>so what I've tried is...</p>
  
  <p>in my nuxt.config.js</p>
  
  <pre><code>head: {
      script: [
          {  
             type: 'text/javascript', 
             src: 'https://a.optmnstr.com/app/js/api.min.js',
             data-account: 'XXXXX',
             data-user: 'XXXXX',
             async: true
          }
      ]
  }
  </code></pre>
  
  <p>now obviously this isn't working since <code>data-account</code> and <code>data-user</code> is not valid, so how can I make this work??</p>
  
  <p>Any help would be appreciated!</p>
  
  <p>Thanks</p>