title: Adding js files to nuxt config
body: <p>Someone designed the front end of my web page and now I am trying to use all the .css and .js files globally for all my pages in nuxtjs. But I am failing to include the files correctly. </p>
  
  <p>This is one of the files I am trying to include: <em>jquery.themepunch.tools.min.js</em>. I get this error:</p>
  
  <p><code>{
      statusCode: 404, 
      path: '/~/assets/revolution/js/jquery.themepunch.tools.min.js',
      message: 'This page could not be found' 
  }</code></p>
  
  <p>I added the path to the file into my nuxt.js.config, but I can't figure out what I am missing here. Here is my config file:</p>
  
  <pre><code>const webpack = require('webpack')
  
  module.exports = {
    head: {
      title: 'test-webpage',
  
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { hid: 'description', name: 'description', content: 'test page' }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
      ],
      script: [
        {src: '~/assets/revolution/js/jquery.themepunch.tools.min.js'}
      ]
    },
  
    build: {
      vendor: ['jquery', 'bootstrap'],
      plugins: [
        // set shortcuts as global for bootstrap
        new webpack.ProvidePlugin({
          $: 'jquery',
          jQuery: 'jquery',
          'window.jQuery': 'jquery'
        })
      ]
    },
  }
  </code></pre>