title: Disable service workers or workbox in nuxtjs app
body: <p>I'm trying to to generate a nuxt app using the <code>nuxt generate</code> command. I want to use it by opening the <code>index.html</code> file in the <code>dist</code> folder. Everything works except for one page where I've some static assets loading. I'm getting the following error: </p>
  
  <blockquote>
    <p>DOMException: Failed to construct 'Worker': Script at
    'file:///Users/web-app/dist/_nuxt/a694c9435aa306bfdc85.worker.js'
    cannot be accessed from origin 'null'.
        at new e.exports (file:///Users/web-app/dist/_nuxt/ddebbd7698f3519f1f2a.js:2:387818)
        at Object.253 (file:///Users/web-app/dist/_nuxt/ddebbd7698f3519f1f2a.js:2:41913)
        at c (file:///Users/web-app/dist/_nuxt/849a5edcbb351f009715.js:1:534)
        at Module.318 (file:///Users/web-app/dist/_nuxt/58dff71a539121ee82b0.js:1:7082)
        at c (file:///Users/web-app/dist/_nuxt/849a5edcbb351f009715.js:1:534)</p>
  </blockquote>
  
  <p>Here's my <code>nuxt.config.js</code> file: </p>
  
  <pre><code>
  export default {
    mode: 'spa',
    /*
    ** Headers of the page
    */
    head: {
      title: process.env.npm_package_name || '',
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { hid: 'description', name: 'description', content: process.env.npm_package_description || '' }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
      ]
    },
    /*
    ** Customize the progress-bar color
    */
    loading: { color: '#fff' },
    /*
    ** Global CSS
    */
    css: [
      '~/assets/css/tailwind.css',
      '~/assets/css/all.css'
    ],
    /*
    ** Plugins to load before mounting the App
    */
    plugins: [
    ],
    /*
    ** Nuxt.js modules
    */
    modules: [
      // Doc: https://axios.nuxtjs.org/usage
      '@nuxtjs/axios',
      '@nuxtjs/proxy',
      '@nuxtjs/toast'
    ],
    /*
    ** Axios module configuration
    ** See https://axios.nuxtjs.org/options
    */
    axios: {
    },
    /*
    ** Build configuration
    */
    build: {
      postcss: {
        plugins: {
          tailwindcss: './tailwind.config.js'
        }
      },
      /*
      ** You can extend webpack config here
      */
  
      extend(config, { isDev, isClient }) {
        if (!isDev) {
          // relative links, please.
          config.output.publicPath = "./_nuxt/";
        }
        return config;
      }
    },
  
    router: {
      mode: "hash"
    }
  }
  
  </code></pre>
  
  <p>I'm wondering if there's any way to disable the service workers in my app. </p>